home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / glibc-1.09 / glibc-1 / glibc-1.09.1 / ChangeLog < prev    next >
Encoding:
Text File  |  1994-11-07  |  363.9 KB  |  9,900 lines

  1. Sun Nov  6 19:26:28 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  2.  
  3.     * Version 1.09.
  4.  
  5. Fri Nov  4 16:52:05 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  6.  
  7.     * Version 1.08.14.
  8.  
  9.     * manual/Makefile (stamp-summary): Depend on $(chapters-incl) too.
  10.  
  11. Thu Nov  3 18:33:50 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  12.  
  13.     * sysdeps/generic/sigset.h (__sigemptyset): Cast to __sigset_t.
  14.     (__sigfillset): Likewise.  Use ~(__sigset_t)0 in place of -1.
  15.     (__SIGSETFN): Don't try to be clever.  Test bounds of SIG with < and >.
  16.  
  17.     * sysdeps/mach/hurd/__fork.c: Unlock signal state earlier, just
  18.         after unlocking _hurd_ports locks.
  19.  
  20.     * sysdeps/unix/bsd/osf1/direct.h: File removed.
  21.     * sysdeps/unix/bsd/direct.h (struct direct): Use `unsigned int'
  22.     instead of `unsigned long int' for `d_fileno' member.
  23.  
  24.     * Makerules (common-mostlyclean): Remove $(tests:=.out) too.
  25.  
  26.     * assert/assert-perr.c (__assert_perror_fail): Add missing comma.
  27.  
  28.     * sysdeps/unix/ioctls-tmpl.c [__osf__ && __alpha__] (FIOPIPESTAT,
  29.     SIOCSRREQR, SIOCSRREQW, SRVC_REQUEST): #undef these.
  30.  
  31. Wed Nov  2 23:00:19 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  32.  
  33.     * sysdeps/mach/hurd/setegid.c: Pass poly and count args for
  34.     other_handles in correct order in call to auth_makeauth.
  35.     * sysdeps/mach/hurd/__setregid.c: Likewise.
  36.     * sysdeps/mach/hurd/__setreuid.c: Likewise.
  37.  
  38.     * Makerules (compile.S): Add -DASSEMBLER.
  39.     * sysdeps/mach/sysdep.h [ASSEMBLER]: Don't include
  40.         <mach/mig_support.h> if this is defined.
  41.  
  42. Wed Nov  2 22:39:55 1994  Michael I Bushnell  <mib@churchy.gnu.ai.mit.edu>
  43.  
  44.     * sysdeps/mach/hurd/seteuid.c: Pass poly and count args for
  45.     other_handles in correct order in call to auth_makeauth.
  46.  
  47. Wed Nov  2 15:03:51 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  48.  
  49.     * stdio/internals.c (fillbuf): Make sure returned char doesn't get
  50.         sign extended.
  51.  
  52. Tue Nov  1 01:25:28 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  53.  
  54.     * sysdeps/unix/common/Implies: File removed.
  55.     * sysdeps/unix/bsd/Implies: Add unix/inet.
  56.  
  57.     * assert/assert-perror.c: Renamed to assert-perr.c.
  58.     * assert/Makefile (routines): Rename assert-perror to assert-perr.
  59.  
  60.     * Version 1.08.13.
  61.  
  62.     * mach/Makefile (generated): Add __%.c for $(mach-shortcuts) too.
  63.  
  64.     * dirent/Makefile (tests): Add tst-seekdir.
  65.     * dirent/tst-seekdir.c (main): New file.
  66.     * sysdeps/unix/bsd/seekdir.c: New file.
  67.     * sysdeps/unix/bsd/telldir.c: New file.
  68.     * sysdeps/unix/bsd/dirstream.h (DIR): New member `__pos'.
  69.     * sysdeps/unix/bsd/readdir.c: Update DIRP->__pos in getdirentries
  70.         call.
  71.     * sysdeps/unix/opendir.c: Use calloc in place of malloc, to zero
  72.         fill new DIRs.
  73.  
  74.     * sysdeps/standalone/i386/force_cpu386/force_cpu386.ld: Renamed to
  75.     target.ld.
  76.     * sysdeps/standalone/i386/force_cpu386/Makefile: Install it from
  77.     that name (still into $(libdir)/force_cpu386.ld).
  78.  
  79.     * mach/Makefile (headers, user-interfaces, server-interfaces):
  80.         Don't add default_pager stuff.
  81.  
  82. Mon Oct 31 07:00:40 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  83.  
  84.     * sysdeps/unix/bsd/sun/sunos4/termbits.h (TCSASOFT): Macro
  85.         removed.
  86.  
  87.     * malloc/malloc.h: Change #ifdef __STDC__ to #if defined
  88.         (__STDC__) && __STDC__.
  89.  
  90. Fri Oct 28 00:09:24 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  91.  
  92.     * sysdeps/mach/sysdep.h: Include <mach/mig_support.h> for decls.
  93.     (FATAL_PREPARE): Pass arg to __mig_dealloc_reply_port.
  94.  
  95.     * assert/Makefile (routines): Add assert-perror.
  96.  
  97.     * Makerules (stubs): cd into $(objdir) and use local file names,
  98.     making the cmd shorter.
  99.  
  100.     * sysdeps/mach/hurd/getprio.c (getonepriority): Call
  101.         proc_getprocinfo with proc port.
  102.  
  103.     * sysdeps/mach/hurd/errnos.awk: Grok "@comment errno %d" in
  104.         errno.texi, instead of assigning sequentially.
  105.     * sysdeps/mach/hurd/errlist.awk: Likewise.
  106.  
  107.     * stdio/fwrite.c: Reset BUFFER_SPACE after fflush in fill_buffer
  108.         case.
  109.  
  110.     * sysdeps/generic/sigset.h (__SIGSETFN): When losing, punt to
  111.         `raise (-1)'.  Old method looped.
  112.  
  113.     * hurd/hurd/resource.h: Include <hurd/process.h>.
  114.  
  115. Thu Oct 27 15:00:50 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  116.  
  117.     * sysdeps/standalone/standalone.h: Fixed typo.
  118.  
  119. Wed Oct 26 00:21:16 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  120.  
  121.     * sysdeps/unix/i386/vfork.S: New file.
  122.  
  123.     * sysdeps/generic/strchr.c: Increment CP properly in check for 5th
  124.         char of quadword hit.
  125.  
  126.     * sysdeps/mach/hurd/getprio.c (getonepriority): Always set ONERR.
  127.  
  128. Tue Oct 25 03:53:26 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  129.  
  130.     * hurd/hurd/resource.h: Include <errno.h>.
  131.  
  132.     * stdio/ftell.c: If STREAM->__pushed_back, calculate from
  133.         pushback_bufp instead of bufp.
  134.  
  135.     * Makefile (format-me): New canned sequence; runs makeinfo
  136.         --no-headers.
  137.     (INSTALL): Use it.
  138.     (NOTES): New file rule.
  139.  
  140.     * manual/intro.texi (Feature Test Macros): Node moved off to
  141.         creature.texi.
  142.     * manual/creature.texi: New file, broken out of intro.texi.
  143.  
  144.     * manual/Makefile (indices): New variable; include ky.
  145.     (realclean): Use $(indices) to remove all index and sorted index files.
  146.  
  147.     * sysdeps/mach/hurd/fcntlbits.h (O_ASYNC, O_FSYNC, O_SYNC):
  148.         Protect with [__USE_BSD].
  149.  
  150. Mon Oct 24 00:16:59 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  151.  
  152.     * sysdeps/unix/bsd/utime.c: Initialize tv_usec fields.
  153.     Use __gettimeofday instead of time.
  154.  
  155.     * sunrpc/pmap_rmt.c: Include <sys/param.h> before <net/if.h>.
  156.     Undef _POSIX_SOURCE before that.
  157.     * sunrpc/pm_getport.c: Likewise.
  158.     * sunrpc/pm_getmaps.c: Likewise.
  159.     * sunrpc/get_myaddr.c: Likewise.
  160.  
  161.     * misc/sys/cdefs.h: Undef __P first.
  162.  
  163.     * Version 1.08.12.
  164.  
  165.     * sysdeps/mach/hurd/getprio.c: Rewritten.
  166.     * sysdeps/mach/hurd/setprio.c: New file.
  167.     * hurd/hurdprio.c: New file.
  168.     * hurd/Makefile (routines): Add hurdprio.
  169.     * hurd/hurd/resource.h (_hurd_priority_which_map): Declare it.
  170.     (NICE_TO_MACH_PRIORITY, MACH_PRIORITY_TO_NICE): New macros.
  171.  
  172. Sun Oct 23 19:39:18 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  173.  
  174.     * Makerules (sources): Fix typo in last change.
  175.  
  176. Fri Oct 21 13:15:39 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  177.  
  178.     * sysdeps/generic/termbits.h (ECHOKE): Remove gratuitous leading
  179.         space before #define.
  180.  
  181.     * Makerules (sources): Filter out $(elided-routines).
  182.  
  183.     * sysdeps/sparc/divrem.m4 (entry point): For OP=rem, set SIGN from
  184.         dividend only, ignoring divisor.
  185.     (Lgot_result): Test SIGN here for OP=rem too (as originally).
  186.  
  187. Wed Oct 19 02:40:02 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  188.  
  189.     * hurd/hurdsig.c: Use assert_perror.
  190.  
  191.     * assert/assert-perror.c (__assert_perror_fail): New file.
  192.     * assert/assert.h (assert_perror): New macro.
  193.  
  194.     * Version 1.08.11.
  195.  
  196.     * hurd/hurdsig.c (abort_rpcs): Actually return a port instead of
  197.         boolean, as the type says.
  198.  
  199.     * hurd/hurdsig.c (abort_all_rpcs): If waiting for reply from
  200.     interrupted RPC returns error, print debugging msg with error
  201.     test, don't assert.
  202.  
  203. Mon Oct 17 00:06:03 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  204.  
  205.     * stdlib/strtol.c: Deansideclized.
  206.     * sysdeps/generic/strcspn.c: Deansideclized.
  207.     * sysdeps/generic/putenv.c: Deansideclized, added portability
  208.         cruft.
  209.  
  210. Fri Oct 14 14:00:11 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  211.  
  212.     * sysdeps/unix/sysv/sysv4/solaris2/utsnamelen.h:
  213.     Moved to sysdeps/unix/sysv/sysv4.
  214.  
  215. Thu Oct 13 22:06:50 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  216.  
  217.     * sysdeps/unix/common/glue-ctype.c [HAVE__LOCP]: Move this defn to
  218.         first.  Include sys/types.h.
  219.  
  220.     * sysdeps/unix/bsd/readdir.c: Include direct.h.
  221.  
  222.     * socket/sys/socket.h (__SOCKADDR_ARG): Always use non-GCC defn,
  223.         for now.
  224.     * posix/sys/wait.h (__WAIT_STATUS): Likewise.
  225.  
  226. Tue Oct 11 00:42:50 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  227.  
  228.     * Version 1.08.10.
  229.  
  230. Mon Oct 10 00:33:47 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  231.  
  232.     * malloc/malloc.h [_MALLOC_INTERNAL] (CHAR_BIT): Don't define if
  233.         already defined.
  234.  
  235.     * stdio/__vfscanf.c: Grok %q modifier like %ll.
  236.  
  237.     * mach/__msgserver.c: Increase default MAX_SIZE to two pages.
  238.  
  239.     * misc/init-misc.c: Cast string constant to non-const type.
  240.  
  241.     * sysdeps/i386/ffs.c: Use %1 again instead of listing TMP as an
  242.     input with constraint "1".  This avoids a warning that TMP may be
  243.     used before set.
  244.  
  245. Sun Oct  9 22:41:20 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  246.  
  247.     * hurd/hurdsig.c (abort_all_rpcs): Declare SS.
  248.  
  249. Sun Oct 09 01:19:38 1994  Jim Meyering  (meyering@comco.com)
  250.  
  251.     * posix/fnmatch.c: Remove CONFIG_BROKETS conditional.
  252.  
  253. Fri Oct  7 15:28:07 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  254.  
  255.     * stdio/__vfscanf.c: Properly grok %a modifier.
  256.  
  257.     * hurd/hurdsig.c (abort_rpcs): Return the reply port or null,
  258.         instead of boolean.
  259.     (abort_all_rpcs): Record the returns from abort_rpcs and wait for
  260.     a message on each reply port.  Don't bother locking _hurd_siglock.
  261.  
  262. Thu Oct  6 18:57:44 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  263.  
  264.     * hurd/hurd.h (_hurd_socket_server): Take new arg DEAD; explain
  265.         its use in comment.
  266.     * hurd/hurdsock.c (_hurd_socket_server): Take new arg DEAD; if
  267.     nonzero, clear any old cached port and always do a fresh lookup.
  268.     * sysdeps/mach/hurd/socket.c: Pass new arg to _hurd_socket_server,
  269.         cope with dead server on socket_create.
  270.     * sysdeps/mach/hurd/__pipe.c: Likewise.
  271.  
  272. Mon Oct  3 02:09:43 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  273.  
  274.     * sysdeps/generic/utsnamelen.h (_UTSNAME_LENGTH): Increase to
  275.         1024.
  276.  
  277. Sun Oct  2 18:35:16 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  278.  
  279.     * posix/glob.h (__P): Change arg name to `protos', for congruence
  280.         with 4.4 BSD.
  281.     * posix/fnmatch.h (__P): Likewise.
  282.  
  283. Sat Oct  1 04:25:35 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  284.  
  285.     * misc/Makefile (routines): Add daemon.
  286.  
  287. Fri Sep 30 16:49:09 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  288.  
  289.     * misc/daemon.c: New file, incorporated from BSD 4.4-Lite.
  290.  
  291.     * sysdeps/mach/hurd/__setsid.c: Call _hurd_setcttyid with
  292.         MACH_PORT_NULL after proc_setsid.
  293.  
  294.     * hurd/hurdioctl.c (_hurd_setcttyid): Don't do mod_refs if port is
  295.         null.
  296.  
  297.     Always use fds' `port' cell for the generic port.
  298.     For ctty fds, use the `ctty' cell for the ctty-special port.
  299.     * hurd/dtable.c (get_dtable_port): Use port, never ctty.
  300.     (fork_child_dtable): Reset D->ctty instead of D->port.
  301.     (ctty_new_pgrp): Likewise. 
  302.     * sysdeps/mach/hurd/__ioctl.c: Use ctty port for RPC if set and
  303.         !NOCTTY.
  304.     * hurd/port2fd.c (_hurd_port2fd): Install normal port in D->port
  305.     cell, and ctty-special port in the D->ctty cell, not the reverse.
  306.     * hurd/hurdioctl.c (tiocsctty): Don't assume MACH_PORT_NULL is
  307.         zero.
  308.     * hurd/hurdexec.c (_hurd_exec): Always pass fds' normal port,
  309.         never its ctty port.
  310.     * hurd/fd-write.c (_hurd_fd_write): Use ctty port for RPC if set
  311.         and !NOCTTY.
  312.     * hurd/fd-read.c (_hurd_fd_read): Use ctty port for RPC if set.
  313.  
  314. Thu Sep 29 18:28:01 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  315.  
  316.     * mach/mig_syms.c (mig_put_reply_port): Add symbol alias to __
  317.         name.
  318.  
  319. Thu Sep 29 12:23:07 1994  Brendan Kehoe  (brendan@zen.org)
  320.  
  321.     * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (ENTRY): Use
  322.     poundfnc instead of \#function, to satisfy gcc-2.6.0 and higher.
  323.     (cat, poundfnc): Define macros to pull it off.
  324.  
  325.     * sysdeps/unix/sysv/sysd-stdio.c: Include sysdeps/generic/sysd-stdio.h,
  326.     not looking in sysdeps/posix.
  327.  
  328. Thu Sep 29 05:38:14 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  329.  
  330.     * sysdeps/unix/common/configure.in (ctype check): In test prog,
  331.     just reference $ctype; we don't care what type it is.
  332.  
  333.     * sysdeps/unix/bsd/bsd4.4/direct.h: New file.
  334.     (HAVE_D_TYPE): Define this macro.
  335.     * dirent/dirent.h (struct dirent): New member `d_type'; shorten
  336.         `d_namlen' to a byte.
  337.     * sysdeps/unix/bsd/readdir.c [! HAVE_D_TYPE]: Shuffle d_namlen and
  338.         clear d_type.
  339.  
  340. Wed Sep 28 17:23:26 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  341.  
  342.     * posix/sys/utsname.h [__USE_SVID] (SYS_NMLN): New macro.
  343.  
  344.     * dirent/scandir.c: Free storage on error from readdir.
  345.  
  346. Mon Sep 26 00:55:34 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  347.  
  348.     * Version 1.08.9.
  349.  
  350.     * MakeTAGS (all-dist): Prepend the appropriate sysdep dir names.
  351.  
  352.     * hurd/hurdsig.c (_hurd_internal_post_signal: sigwakeup): Create a
  353.         send right.
  354.  
  355. Sat Sep 24 13:44:51 1994  Jim Meyering  (meyering@comco.com)
  356.  
  357.     * sysdeps/generic/memcmp.c [CMP_LT_OR_GT]: New macro.
  358.     (memcmp): Use it in place of each of ten 5-line #ifdef blocks.
  359.  
  360. Fri Sep 23 16:55:54 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  361.  
  362.     * sysdeps/mach/hurd/sigsuspend.c: Include <hurd/msg.h>.
  363.  
  364.     * sysdeps/mach/hurd/sigsuspend.c: Add missing & in __mach_msg
  365.         call.
  366.  
  367. Thu Sep 15 14:22:56 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  368.  
  369.     * sysdeps/standalone/i386/force_cpu386/Dist: New file.
  370.     * sysdeps/standalone/m68k/m68020/mvme136/Dist: New file.
  371.     * sysdeps/standalone/i960/Dist: New file.
  372.     * sysdeps/standalone/m68k/m68020/Dist: New file.
  373.     * sysdeps/standalone/i386/force_cpu386/force_cpu386.ld: New file.
  374.     * sysdeps/standalone/m68k/m68020/mvme136/mvme136.ld: New file.
  375.     * sysdeps/standalone/i960/i960ca.h: New file.
  376.     * sysdeps/standalone/m68k/m68020/m68020.h: New file.
  377.  
  378.     * sysdeps/unix/common/configure.in: Use AC_COMPILE_CHECK instead
  379.         of AC_HAVE_FUNCS.
  380.  
  381.     * sysdeps/generic/make_siglist.c (sys_siglist): Define as macro to
  382.         my_siglist.
  383.  
  384.     * sysdeps/mach/i386/thread_state.h: Include from mach/machine, not
  385.         mach/i386.
  386.     * sysdeps/mach/hurd/i386/sigcontext.h: Likewise.
  387.  
  388.     * mach/mach/mig_support.h (__mig_put_reply_port): Declare.
  389.     (__mig_dealloc_reply_port): Take arg.
  390.     * sysdeps/mach/hurd/mig-reply.c (__mig_put_reply_port): New
  391.         function.
  392.     (__mig_dealloc_reply_port): Take arg, ignore it.
  393.  
  394. Wed Sep 14 18:16:07 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  395.  
  396.     * sysdeps/mach/hurd/Makefile (libc-name): Set to crt.
  397.     [!subdir]: Install libc-ldscript as libc.a.
  398.     * sysdeps/mach/hurd/Dist: Add libc-ldscript.
  399.  
  400. Tue Sep 13 19:57:09 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  401.  
  402.     * sysdeps/mach/hurd/sync.c: Don't be synchronous: pass WAIT=0 to
  403.         file_syncfs.
  404.  
  405.     * Makerules (libc-name): New variable.
  406.     (install, libc installation rule): Use $(libc-name) in place of `c'.
  407.  
  408. Sun Sep 11 23:28:20 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  409.  
  410.     * sysdeps/mach/hurd/__readlink.c: Only decrement LEN to remove the
  411.     null terminator when LEN is already large enough to include it.
  412.  
  413.     * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Add break
  414.         after FS_RETRY_MAGICAL case.
  415.  
  416. Fri Sep  9 04:03:59 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  417.  
  418.     * stdio/vfprintf.c: Grok q modifier like ll.
  419.  
  420.     * Make-dist (sysdep-Subdir-files, subdirs): Set these early on,
  421.         before doing distinfo.
  422.     [parent] (+distinfo): Set inhibit_interface_rules=t in sub-make.
  423.  
  424. Thu Sep  8 17:18:14 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  425.  
  426.     * sysdeps/generic/morecore.c (__default_morecore) [! __STDC__]:
  427.     Declare arg as `int' instead of `ptrdiff_t'.
  428.  
  429. Tue Sep  6 19:06:00 1994  Roland McGrath  <roland@geech.gnu.ai.mit.edu>
  430.  
  431.     * posix/glob.c (prefix_array, glob): Avoid const on initialized
  432.     variables.  Some compiler generates bad code.
  433.  
  434. Mon Sep  5 13:24:26 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  435.  
  436.     * malloc/Makefile (malloc/%: ../sysdeps/generic/%): New rule, to get
  437.         morecore.c.
  438.  
  439.     * malloc/malloc.h (size_t, ptrdiff_t): Never define these as macros.
  440.     (__malloc_size_t): Define this instead.
  441.     Change all uses of size_t to __malloc_size_t.
  442.     * malloc/valloc.c: Replace all uses of size_t with __malloc_size_t.
  443.     * malloc/memalign.c: Likewise.
  444.     * malloc/mcheck.c: Likewise.
  445.     * malloc/mtrace.c: Likewise.
  446.     * malloc/malloc.c: Likewise.
  447.     * malloc/free.c: Likewise.
  448.     * malloc/realloc.c: Likewise.
  449.     * malloc/calloc.c: Likewise.
  450.  
  451.     * MakeTAGS (TAGS): Define first so as to be default goal.
  452.     (sysdep_dirs): Set this by running find, if it is not already set.
  453.     (all-dirs): Include that value.
  454.     (all-dist): Filter output of cat, not args to it.
  455.     * Makerules (TAGS): Depend on distinfo, not distfile.
  456.  
  457.     * resolv/getnetnamadr.c (getnetbyname): Arg is always const,
  458.         regardless of [sun].
  459.  
  460. Sun Sep  4 00:04:55 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  461.  
  462.     * Version 1.08.8.
  463.  
  464.     * Makerules (distinfo-vars): Double $s in final emitted sources defn.
  465.  
  466.     * inet/Makefile (headers): Add netdb.h.
  467.     * resolv/Makefile (headers): Remove netdb.h.
  468.     * resolv/netdb.h: Moved to inet.
  469.     * inet/netdb.h: Incorporated from BSD 4.4-Lite.
  470.     Add back h_errno declaration.
  471.  
  472.     * hurd/Makefile (faultexc.c): Change this to a pattern rule to
  473.         build both faultexc.[ch].
  474.     (hurdfault.o): Depend on faultexc.h and faultexc.c to get them built.
  475.  
  476.     * sysdeps/mach/hurd/i386/trampoline.c
  477.         (_hurdsig_rcv_interrupted_p): Make PC volatile.
  478.     (_hurd_setup_sighandler): Cast SS->context to int before comparing to
  479.     _hurdsig_fault_sigcode.
  480.  
  481.     * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_SET_{SP,PC}):
  482.         Cast args to unsigned long int.
  483.  
  484.     * sysdeps/mach/hurd/i386/trampoline.c: Use _hurdsig_catch_fault.
  485.  
  486.     * Make-dist (subdirs): Use sed to remove comments from Subdirs files.
  487.     * MakeTAGS (subdirs): Likewise.
  488.  
  489.     * sysdeps/mach/i386/thread_state.h: Include
  490.         <mach/i386/thread_status.h> first thing.
  491.  
  492.     * hurd/Makefile (sig): Add faultexc.
  493.     ($(objpfx)faultexc.c): New target.
  494.     (generated): Append faultexc.c.
  495.  
  496.     * hurd/Makefile (sig): Add hurdfault; remove init-fault.
  497.     (distribute): Add hurdfault.h.
  498.     * hurd/hurdfault.h: New file.
  499.     * hurd/hurdfault.c: New file.
  500.     * hurd/hurdsig.c (interrupted_reply_port_location): Use
  501.     _hurdsig_catch_fault and _hurdsig_end_catch_fault.
  502.     (_hurdsig_getenv): Likewise.
  503.     * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
  504.  
  505.     * hurd/catch-exc.c: Return EPERM if TASK is not right.
  506.  
  507.     * hurd/hurdsig.c (_hurd_sigthread_fault_env): Variable moved to
  508.         hurdfault.c.
  509.     (_hurdsig_fault_init): Function moved to hurdfault.c.
  510.  
  511. Sat Sep  3 12:22:53 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  512.  
  513.     * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_SET_PC,
  514.         MACHINE_THREAD_STATE_SET_SP): New macros.
  515.     * mach/setup-thread.c: Use MACHINE_THREAD_STATE_SET_PC.
  516.     * sysdeps/mach/hurd/__fork.c: Likewise.
  517.  
  518.     * string/test-ffs.c (main: try): Actually call ffs in the test.
  519.  
  520. Fri Sep  2 21:20:17 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  521.  
  522.     * sysdeps/mach/hurd/mips/__sigret.c: Restore FPU state.  Code from
  523.         kkojima.
  524.  
  525.     * sysdeps/mach/hurd/__mknod.c: Fixed copying of the translator
  526.     name into buffer with major and minor numbers, and setting of LEN.
  527.  
  528.     * sysdeps/unix/configure (unix_syscall): In sed cmd, do = first to
  529.     avoid clobbering produced assignments.
  530.  
  531. Thu Sep  1 03:25:17 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  532.  
  533.     * Version 1.08.7.
  534.  
  535.     * sysdeps/mach/hurd/connect.c (connect): Fix accidental renaming
  536.         of sun_path to sun_file_name.
  537.  
  538.     * bare/Makefile (routines, elided-routines): Set these both to
  539.         $(bare-routines).
  540.     (distribute): Don't set this.
  541.  
  542.     * Makerules (distinfo-vars): Fix cmd to echo `sources' defn.
  543.  
  544.     * sysdeps/unix/configure: Handle dirs other than common.  Check
  545.     for [gs]etdomainname.
  546.     * misc/Makefile (routines): Add getdomain, setdomain.
  547.     * sysdeps/unix/bsd/bsd4.4/setdomain.S: New file.
  548.     * sysdeps/unix/bsd/bsd4.4/getdomain.S: New file.
  549.     * sysdeps/stub/setdomain.c: New file.
  550.     * sysdeps/stub/getdomain.c: New file.
  551.  
  552. Wed Aug 31 01:15:26 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  553.  
  554.     * hurd/hurdsig.c (_hurd_internal_post_signal: sigwakeup): Take no
  555.     args; use parent SS variable.  Changed all calls.
  556.  
  557.     * hurd/hurd/signal.h (struct hurd_sigstate): Make `suspended' a
  558.         port; remove `arrived'.
  559.     * sysdeps/mach/hurd/sigsuspend.c (sigsuspend): Rewritten to set
  560.     SS->suspended port and wait for msg on it.  Check for and deliver
  561.     pending signals properly.
  562.     * hurd/hurdsig.c (_hurd_internal_post_signal: sigwakeup): If
  563.     SS->suspended is set, send an empty message on it and clear it.
  564.  
  565.     * math/test-math.c (print_trig_stuff): New function, tests many
  566.         math functions.
  567.     (main): Call it at end.
  568.  
  569.     * string/Makefile (tests): Added test-ffs.
  570.     * string/test-ffs.c: New file.
  571.  
  572. Tue Aug 30 20:33:49 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  573.  
  574.     * misc/fstab.c (error): Return void.
  575.     (fstabscan): Return int.
  576.  
  577.     * sysdeps/i386/ffs.c: Use & modifier in constraint for CNT.
  578.  
  579.     * misc/fstab.c (EFTYPE): If not defined by errno.h, define this to
  580.         EINVAL.
  581.     (fstabscan): Return void.
  582.  
  583. Tue Aug 30 11:00:01 1994  Michael I Bushnell  <mib@geech.gnu.ai.mit.edu>
  584.  
  585.     * sysdeps/mach/hurd/__access.c (__access): Use a send right,
  586.     not a send-once right, in the new auth protocol.
  587.     * hurd/__setauth.c (_hurd_setauth): Likewise.
  588.     * hurd/hurdsig.c (reauth_proc): Likewise.
  589.     * hurd/dtable.c (reauth_dtable): Likewise.
  590.     * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Likewise.
  591.  
  592. Tue Aug 30 03:59:38 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  593.  
  594.     * socket/sys/socket.h (__SOCKADDR_ARG) [GCC>=2.6]: Use a typedef
  595.     with the transparent_union attribute.
  596.  
  597.     * sysdeps/mach/hurd/__access.c: Use new authentication protocol:
  598.     for each port, create a fresh receive right and pass send-once
  599.     rights in the auth calls, then destroy the port.
  600.  
  601.     * sysdeps/mach/mips/syscall.S: New file.
  602.  
  603.     * stdio/Makefile (mpn-headers, mpn-sysdep): Change asm.h to
  604.     asm-syntax.h.
  605.  
  606.     * misc/Makefile (headers): Added fstab.h.
  607.     (routines): Added fstab.
  608.     * misc/fstab.c: New file.
  609.     * misc/fstab.h: New file.
  610.  
  611.     * hurd/Makefile (routines): Changed hurdpath to hurdlookup.
  612.     * hurd/hurdpath.c: Renamed to hurd/hurdlookup.c.
  613.     * hurd/hurdlookup.c: Globally replace `pathtrans' with `lookup' and
  614.         `path' with `file_name'.
  615.     (__hurd_file_name_split): Don't bother skipping leading slashes.
  616.     * hurd/hurd.h: Rename likewise in decls.
  617.     * hurd/fchroot.c: Globally replace `pathtrans' with `lookup' and
  618.         `path' with `file_name'.
  619.     * hurd/hurdsig.c: Likewise.
  620.     * hurd/hurdsock.c: Likewise.
  621.     * hurd/hurdsyms.c: Likewise.
  622.     * hurd/invoke-trans.c: Likewise.
  623.     * sysdeps/mach/hurd/__access.c: Likewise.
  624.     * sysdeps/mach/hurd/__chmod.c: Likewise.
  625.     * sysdeps/mach/hurd/__chown.c: Likewise.
  626.     * sysdeps/mach/hurd/__execve.c: Likewise.
  627.     * sysdeps/mach/hurd/__link.c: Likewise.
  628.     * sysdeps/mach/hurd/__lstat.c: Likewise.
  629.     * sysdeps/mach/hurd/__mkdir.c: Likewise.
  630.     * sysdeps/mach/hurd/__mknod.c: Likewise.
  631.     * sysdeps/mach/hurd/__open.c: Likewise.
  632.     * sysdeps/mach/hurd/__rmdir.c: Likewise.
  633.     * sysdeps/mach/hurd/__readlink.c: Likewise.
  634.     * sysdeps/mach/hurd/__stat.c: Likewise.
  635.     * sysdeps/mach/hurd/__symlink.c: Likewise.
  636.     * sysdeps/mach/hurd/__unlink.c: Likewise.
  637.     * sysdeps/mach/hurd/__utimes.c: Likewise.
  638.     * sysdeps/mach/hurd/bind.c: Likewise.
  639.     * sysdeps/mach/hurd/chflags.c: Likewise.
  640.     * sysdeps/mach/hurd/connect.c: Likewise.
  641.     * sysdeps/mach/hurd/fchdir.c: Likewise.
  642.     * sysdeps/mach/hurd/opendir.c: Likewise.
  643.     * sysdeps/mach/hurd/sysd-stdio.c: Likewise.
  644.     * sysdeps/mach/hurd/truncate.c: Likewise.
  645.     * sysdeps/mach/hurd/rename.c: Likewise.
  646.     * sysdeps/mach/hurd/getcwd.c: Likewise.
  647.     * sysdeps/mach/hurd/chroot.c: Likewise.
  648.     * sysdeps/mach/hurd/__chdir.c: Likewise.
  649.  
  650.     * hurd/__setauth.c (_hurd_setauth): Use new authentication
  651.     protocol: for each port, create a fresh receive right and pass
  652.     send-once rights in the auth calls, then destroy the port.
  653.     * hurd/hurdsig.c (reauth_proc): Likewise.
  654.     * hurd/dtable.c (reauth_dtable): Likewise.
  655.  
  656.     * hurd/hurdpath.c (__hurd_path_lookup_retry): Don't handle
  657.     FS_RETRY_NONE (it's gone).  Use new authentication protocol:
  658.     create a fresh receive right and pass send-once rights in the auth
  659.     calls, then destroy the port.
  660.  
  661. Mon Aug 29 13:17:39 1994  Michael I Bushnell  <mib@geech.gnu.ai.mit.edu>
  662.  
  663.     * sysdeps/mach/hurd/__symlink.c (__symlink): Use new
  664.     file_set_translator protocol.
  665.     * sysdeps/mach/hurd/bind.c (bind): Likewise.
  666.     * sysdeps/mach/hurd/__mknod.c (__mknod): Likewise.
  667.  
  668.     * sysdeps/mach/hurd/__pipe.c (__pipe): Use PF_LOCAL instead
  669.     of AF_FILE.
  670.  
  671. Fri Aug 26 01:21:09 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  672.  
  673.     * Makefile ($(objpfx)sysd-dirs): Use sed to remove # comments from
  674.         Subdirs files.
  675.  
  676.     Support for miscellaneous standalone boards (no OS), contributed
  677.     by Joel Sherrill (jsherril@redstone-emh2.army.mil), On-Line
  678.     Applications Research Corporation.
  679.     * sysdeps/standalone: New directory.
  680.     * sysdeps/standalone/standalone.h: New file.
  681.     * sysdeps/standalone/stdio_lim.h: New file.
  682.     * sysdeps/stub/strtsupp.c: New file.
  683.     * sysdeps/standalone/filedesc.h: New file.
  684.     * sysdeps/posix/{setenv,putenv}.c: Moved to sysdeps/generic.
  685.     * sysdeps/unix/getenv.c: Moved to sysdeps/generic.
  686.     * sysdeps/unix/morecore.c: Moved to sysdeps/generic.
  687.     * sysdeps/posix/sysd-stdio.c: Moved to sysdeps/generic.
  688.     * sysdeps/stub/errnos.h: Add ENFILE and EMFILE.
  689.     * sysdeps/stub/errlist.c (_sys_errlist): Likewise.
  690.     * sysdeps/stub/console.c: New file.
  691.     * sysdeps/standalone/__open.c: New file.
  692.     * sysdeps/standalone/__read.c: New file.
  693.     * sysdeps/standalone/__write.c: New file.
  694.     * sysdeps/standalone/__close.c: New file.
  695.     * sysdeps/stub/brdinit.c: New file.
  696.     * sysdeps/unix/__sbrk.c: Moved to sysdeps/generic.
  697.     * sysdeps/standalone/__brk.c: New file.
  698.     * sysdeps/standalone/Subdirs: New file
  699.     * bare/Makefile: New file (and new directory).
  700.     * sysdeps/i960/ffs.c: New file.
  701.     * sysdeps/i960/Implies: New file.
  702.     * configure.in (os=none): base_os=standalone
  703.  
  704. Thu Aug 25 23:56:32 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  705.  
  706.     * sysdeps/stub/__sigret.c: Arg is not const.
  707.     * signal/sigret.c: Likewise.
  708.  
  709. Tue Aug 23 14:43:19 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  710.  
  711.     * socket/sys/socket.h (PF_FILE, AF_FILE): Removed (use LOCAL instead).
  712.     (PF_XTP, PF_COIP, PF_CNT, PF_RTIP, PF_IPX, PF_SIP, PF_PIP): New macros.
  713.     (PF_MAX): Increased to 26.
  714.     (pseudo_AF_XTP, AF_COIP, AF_CNT, pseudo_AF_RTIP, AF_IPX, AF_SIP,
  715.     pseudo_AF_PIP): New macros.
  716.     (MSG_EOR, MSG_TRUNC, MSG_CTRUNC, MSG_WAITALL, MSG_DONTWAIT,
  717.     SO_REUSEPORT): New enum constants.
  718.  
  719.     * hurd/hurdsig.c (_hurd_internal_post_signal): If not preempted,
  720.     set ACT before checking for SIGCONT.  When continuing and
  721.     ACT==handle, don't resume SS->thread; record that it is suspended
  722.     and in handler-setup code, don't suspend it again.
  723.  
  724.     * sysdeps/mach/hurd/sys/param.h: Include <errno.h> (BSD does).
  725.  
  726.     * sysdeps/mach/hurd/__fork.c: When unchaining old sigstates, check
  727.         for SS being head of chain.
  728.  
  729. Mon Aug 22 00:29:02 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  730.  
  731.     * time/{asia,australasia,europe,northamerica}: New data from ADO.
  732.  
  733.     * hurd/hurdsig.c (abort_rpcs): After destroying MSGING_PORT,
  734.     change the return value register in STATE to EINTR.
  735.     * sysdeps/mach/mips/thread_state.h (SYSRETURN): New macro.
  736.     * sysdeps/mach/i386/thread_state.h (SYSRETURN): New macro.
  737.  
  738.     * hurd/hurdsig.c (default_sigaction): New function.
  739.     (_hurd_thread_sigstate): Use it to initialize SS->actions.
  740.     Initialize rest of new sigstate by hand, don't just bzero it.
  741.  
  742.     * hurd/hurdsig.c (_hurd_internal_post_signal): Initialize
  743.         THREAD_STATE.set to zero.
  744.  
  745.     * posix/execl.c: Use ARG instead of PATH in va_start.
  746.  
  747.     * sysdeps/mach/hurd/__fork.c: In child fork, unchain stale
  748.     structures from _hurd_sigstates first, and only free them after
  749.     other processing is complete.
  750.  
  751.     * hurd/hurdpath.c (__hurd_path_lookup_retry): For malformed number
  752.     in magic "fd/N", return ENOENT instead of treating it as bogus
  753.     magic.
  754.  
  755.     * sysdeps/mach/hurd/__chdir.c: After __path_lookup on arg, use
  756.     __hurd_path_lookup of empty file name on resultant port to check
  757.     that it's a directory.
  758.     * sysdeps/mach/hurd/chroot.c: Likewise.
  759.     * sysdeps/mach/hurd/fchdir.c: Use __hurd_path_lookup of empty file
  760.     name on FD port to check that it's a directory and acquire a
  761.     reference at the same time.
  762.     * hurd/fchroot.c: Likewise.
  763.  
  764.     * hurd/hurdpid.c (init_pids): Add gratuitous self reference to
  765.         silence compiler.
  766.  
  767.     * hurd/hurdpath.c: Include <hurd/term.h> for cttyid opening rpc.
  768.     (__hurd_path_lookup_retry): Fixed typo.
  769.  
  770.     * sysdeps/mach/hurd/i386/__sigret.c: Push state onto the user's
  771.         stack, switch to it, pop and return.
  772.  
  773.     Major rewrite of Hurd signal delivery.
  774.     * hurd/hurd/signal.h (struct hurd_sigstate): New member `context'.
  775.     * sysdeps/mach/hurd/i386/trampoline.c: Include "thread_state.h"
  776.         instead of <mach/thread_status.h>.
  777.     (struct mach_msg_trap_args): New type.
  778.     (trampoline): Function removed.
  779.     (_hurd_setup_sighandler): Take struct hurd_sigstate * arg instead
  780.     of FLAGS and SIGALTSTACK args; take new flag arg RPC_WAIT; use
  781.     struct machine_thread_all_state * for STATE arg.  New declared
  782.     labels `trampoline', `rpc_wait_trampoline' mark asm code at end of
  783.     function (after return).  Add another struct sigcontext * to
  784.     STACKFRAME after the first one, for the arg to __sigreturn.  If
  785.     SS->context is set, fill registers in SCP from that instead of
  786.     STATE, and reset SS->INTR_PORT from it.  Use memcpy to copy from
  787.     STATE into SCP; the structures are congruent.  If RPC_WAIT is set,
  788.     set up to use rpc_wait_trampoline and frob args to mach_msg_trap
  789.     syscall in progress so that it will retry the receive operation
  790.     (but not resend!).
  791.     {rpc_wait_trampoline, trampoline}: New trampoline code.
  792.     (_hurd_rcv_interrupted_p): New function.
  793.     * sysdeps/mach/hurd/mips/trampoline.c: Likewise.
  794.     * hurd/hurdsig.c (write_corefile): Take new arg SIGERROR.  Use
  795.     _hurdsig_getenv instead of getenv.  Use dir_mkfile to create an
  796.     unlinked node for the core file; then use dir_link to name it,
  797.     only if core_dump_task succeeded.
  798.     (post_reply): New function.
  799.     (abort_thread): New function.
  800.     (interrupted_reply_port_location): New function.
  801.     (interrupted_reply_port): Function removed (replaced by above).
  802.     (abort_all_rpcs): Take struct machine_thread_all_state * for STATE.
  803.     (abort_rpcs): Likewise.
  804.     Return int, nonzero iff interrupt_operation RPC was done.  Take
  805.     args for reply port and its port type; call abort_thread instead
  806.     of doing thread_abort and thread_get_state.  Call
  807.     _hurdsig_rcv_interrupted_p instead of _hurd_thread_state_msging_p.
  808.     Use __interrupt_operation mig stub instead of manual packing.  If
  809.     we destroy the msging port, and it is the thread's mig reply port,
  810.     clear its reply port slot.  Fix inverted SA_RESTART test.
  811.     (_hurd_internal_post_signal): Take new arg SIGERROR.
  812.     Remove `cont' from ACT enum; SIGCONT processing is independent of
  813.     handling.  Removed local function `check_pending'; add `reply'.
  814.     Use mask macro STOPSIGS instead of alternation to check for stop
  815.     signals.  Process SIGCONT and do continuation before examining the
  816.     handler.  Use SS->pending_data instead of SS->sigcodes.  When
  817.     dying, don't lock _hurd_siglock around __proc_dostop call.  When
  818.     dying, reply immediately after stopping user threads.  When
  819.     handling, notice return from abort_rpcs and pass it to
  820.     _hurd_setup_sighandler; also pass SS instead of its components.
  821.     Set SCP->sc_error from SIGERROR; clear SS->intr_port after saving
  822.     it in SCP->sc_intr_port.  For pending checks, use macro PENDING
  823.     and goto pending if returns true.
  824.     (_S_sig_post): Eliminate unnecessary variable WIN; pass SIGERROR
  825.     value of zero to _hurd_internal_post_signal.
  826.     (_hurdsig_getenv): New function.
  827.     * sysdeps/mach/hurd/i386/__sigret.c (sp): New global register
  828.         variable.
  829.     (__sigreturn): Arg is not const.
  830.     After restoring SCP->sc_mask, check for pending signals (newly
  831.     unblocked); if any, set SS->context to SCP, clear SS->intr_port,
  832.     and send sig_post to the signal thread to deliver the pending
  833.     signals.  Point SP directly at &SCP->sc_gs and used popa;iret to
  834.     restore.  (This does not actually work; iret is unhelpful.)
  835.     * sysdeps/mach/hurd/mips/__sigret.c (__sigreturn): Arg is not
  836.     const.  After restoring SCP->sc_mask, check for pending signals
  837.     (newly unblocked); if any, set SS->context to SCP, clear
  838.     SS->intr_port, and send sig_post to the signal thread to deliver
  839.     the pending signals.  Don't write $1 value into the user stack.
  840.     Instead, write it into the word just past SCP->sc_pc; then point
  841.     $1 at SCP->sc_pc and use `op_sigreturn' pseudo-instruction to
  842.     restore the PC and $1 from that.
  843.  
  844. Fri Aug 19 15:39:54 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  845.  
  846.     * configure.in (machine): Grok i586 -> i386/i586.
  847.     * sysdeps/i386/pentium: Directory renamed to sysdeps/i386/i586.
  848.  
  849.     * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
  850.         New variables.
  851.     * hurd/hurdpid.c (_S_proc_newids): Last thing, increment
  852.     _hurd_pids_changed_stamp and broadcast on _hurd_pids_changed_sync.
  853.     * sysdeps/mach/hurd/__setpgrp.c: After proc_setpgrp succeeds and
  854.     PID is ourself, wait on _hurd_pids_changed_sync until
  855.     _hurd_pids_changed_stamp increases from the value before the RPC.
  856.     * sysdeps/mach/hurd/__setsid.c: After proc_setsid succeeds, wait
  857.     on _hurd_pids_changed_sync until _hurd_pids_changed_stamp
  858.     increases from the value before the RPC.
  859.  
  860.     * posix/sys/wait.h [GCC>=2.6] (__WAIT_STATUS): Define this with
  861.     typedef as a union with the new (GCC 2.6.1) `transparent_union'
  862.     attribute.
  863.  
  864.     * stdio/printf_fp.c (MPNSIZE): New macro, computed from DBL_MAX_EXP.
  865.     (MPN_VAR): Use that for size of bignums.
  866.  
  867.     * sysdeps/mach/hurd/__kill.c: For pgrp, ignore ESRCH error from
  868.     kill_pid of individual pids, unless from all of them.
  869.     * hurd/hurdkill.c (_hurd_sig_post): Likewise.
  870.  
  871. Fri Aug 19 00:54:50 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  872.  
  873.     * configure.in (INSTALL): Quote this shell goop from m4.
  874.  
  875.     * sysdeps/stub/start.c (errno, __environ): Define these variables.
  876.  
  877.     * sysdeps/stub/errnos.h (ENOMEM, EACCES): New macros.
  878.     * sysdeps/stub/errlist.c (_sys_errlist): Add strings for all
  879.         macros defined in stub/errnos.h.
  880.     (_sys_nerr): Use value computed from sizeof (_sys_errlist).
  881.  
  882. Wed Aug 17 15:32:39 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  883.  
  884.     * hurd/hurdmsg.c (_S_io_select_done): Take poly arg for notify
  885.         port arg.
  886.  
  887.     * mach/mach_init.h (vm_page_size): Remove macro defn.
  888.  
  889.     * hurd/Makefile (distribute): Added STATUS.
  890.  
  891.     * sysdeps/mach/thread_state.h: Include <string.h> and
  892.         <mach/mach_interface.h>.
  893.  
  894.     * sysdeps/mach/hurd/__select.c: Pass port-type arg to io_select.
  895.  
  896.     * sysdeps/mach/hurd/__fork.c: Include "hurdmalloc.h", so we use
  897.         the right `free'.
  898.  
  899.     * sysdeps/mach/hurd/__select.c (SELECT_DONE_MSGID): Correct value
  900.         to 23020.
  901.     (__select): Don't set PORT until just before sending io_select calls.
  902.     Pass proper send-size for io_select_done reply message.  Clear the
  903.     reply port slot in io_select_done reply message header.
  904.  
  905.     * sysdeps/mach/hurd/__kill.c: Rename parameter to ARG_SIG, make
  906.         SIG a local variable initialized to that (this to work around a
  907.         GCC bug).
  908.     Initialize PIDS and NPIDS properly for proc_getpgrppids call.
  909.  
  910.     * signal/signal.h (__sigreturn, sigreturn): Arg is not const.
  911.  
  912.     * hurd/hurdpath.c (__hurd_path_lookup_retry): For REAUTH or NORMAL
  913.     with empty retryname, treat like NONE (which is now obsolete)
  914.     after reauthentication.  For magic "tty", use new
  915.     termctty_open_terminal RPC on cttyid port.
  916.  
  917. Tue Aug 16 01:58:21 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  918.  
  919.     * sysdeps/mach/hurd/__kill.c (kill_pid): Make non-inline.  Treat
  920.     null msgport like EPERM return from sig_post.
  921.     * hurd/hurdkill.c (_hurd_sig_post): Treat null msgport like EPERM.
  922.  
  923.     * sysdeps/mach/thread_state.h (machine_get_state,
  924.     machine_get_basic_state): Initialize count arg before calling
  925.     thread_get_state.
  926.  
  927.     * hurd/hurdpath.c (__hurd_path_lookup_retry): Initialize ERR to zero.
  928.  
  929.     * hurd/hurdpath.c (__hurd_path_lookup_retry): Grok magic "tty".
  930.  
  931.     * hurd/hurd/signal.h (struct hurd_sigstate): Replace `sigcodes' with
  932.         `pending_data'.
  933.     (_hurd_raise_signal, _hurd_setup_sighandler): Update prototypes.
  934.     (_hurd_thread_state_msging_p): Don't declare.
  935.     (_hurdsig_rcv_interrupted_p): Declare this instead.
  936.     (HURD_EINTR_RPC): Invert sense of restart test.
  937.  
  938.     * hurd/hurdrlimit.c (_hurd_rlimits): Add braces to initializer.
  939.  
  940.     * hurd/catch-exc.c: Unlock _hurd_siglock when done with it.  Use
  941.     __spin_lock_locked on `held' member instead of __mutex_lock_locked.
  942.  
  943.     * sysdeps/mach/thread_state.h: New file.
  944.     * sysdeps/mach/i386/thread_state.h: Don't #include
  945.     <mach/thread_status.h>.  Add #include_next <thread_state.h> at end.
  946.     * sysdeps/mach/mips/thread_state.h: Likewise.
  947.  
  948.     * sysdeps/mach/hurd/i386/sigcontext.h (struct sigcontext): Lay out
  949.     corresponding to i386_thread_state and i386_float_state.
  950.     * sysdeps/mach/hurd/mips/sigcontext.h (sc_mips_thread_state,
  951.     sc_mips_exc_state, sc_mips_float_state): New macros, marking
  952.     members that correspond to thread_state.h structs.
  953.  
  954. Mon Aug 15 17:21:20 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  955.  
  956.     * Rules [cross-compiling=yes] (tests): Depend on the binaries, not
  957.     the output files.
  958.  
  959.     * Makerules: Replace uses of HOST_CC with BUILD_CC and
  960.         native-CFLAGS with BUILD_CFLAGS.
  961.  
  962.     * sysdeps/unix/Makefile (mk-local_lim, make-ioctls): Replace uses
  963.     of CC with BUILD_CC and native-CFLAGS with BUILD_CFLAGS.
  964.     * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Replace uses of
  965.         HOST_CC with BUILD_CC and native-CFLAGS with BUILD_CFLAGS.
  966.     * sysdeps/posix/Makefile: Likewise.
  967.  
  968.     * Makeconfig (+cc_version): Variable and associated code removed.
  969.     (HOST_CC): Use BUILD_CC instead; all uses changed.
  970.     (cross-compiling): Set to no if not the case.
  971.  
  972.     * sysdeps/m68k/fpu/__math.h: Replace all uses of __const with
  973.         __CONSTVALUE.
  974.  
  975.     * Makerules (distinfo-vars): Remove $@.new first thing.  Write
  976.     elided-routines instead of sysdep_routines.  After writing
  977.     variables, append to sources from $(elided-routines).
  978.     * sysdeps/vax/Makefile (elided-routines): New variable (append to
  979.         it).
  980.     (aux, routines): Don't set these.
  981.     (sysdep_routines): Append things here instead.
  982.     * sysdeps/generic/Makefile (elided-routines): New variable (append
  983.         to it).
  984.     (aux): Don't set this.
  985.     * sysdeps/generic/Makefile (routines): Don't set this.
  986.     (sysdep_routines): Append exp__E and log__L here instead.
  987.  
  988.     * time/test_time.c (main): Set TBUF.tm_isdst to -1 before calling
  989.         mktime.
  990.  
  991.     * stdlib/stdlib.h (atof, atoi, atol, random, srandom, setstate,
  992.     initstate, mblen): Never define as macros.
  993.     [__OPTIMZE__ && __GNUC__ >= 2]: Define those functions as extern
  994.     inlines.
  995.  
  996.     * hurd/hurdpath.c (__hurd_path_lookup_retry): For magic "fd/%u",
  997.     lose on random chars after number; for / after number, retry
  998.     remainder properly.
  999.  
  1000.     * hurd/hurdpath.c (pathtrans_error): New function; filters errors
  1001.     from dir_pathtrans: EOPNOTSUPP and MIG_BAD_ID become ENOTDIR.
  1002.     (__hurd_path_lookup, __hurd_path_lookup_retry): Call it.
  1003.  
  1004. Thu Aug 11 11:59:33 1994  Noel Cragg  (noel@churchy.gnu.ai.mit.edu)
  1005.  
  1006.     * time/mktime.c (_mktime_internal): Add code to normalize value of
  1007.     TM_ISDST to -1, 0, or 1 so code doesn't loop forever.
  1008.  
  1009. Thu Aug 11 02:26:37 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  1010.  
  1011.     * resolv/Makefile (subdir): Set to resolv, not res.
  1012.  
  1013.     * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Pass ERR to
  1014.         _hurd_raise_signal.
  1015.  
  1016.     * sysdeps/mach/i386/thread_state.h (struct machine_thread_all_state):
  1017.     Add new member `fpu'.
  1018.  
  1019. Wed Aug 10 23:39:49 1994  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>
  1020.  
  1021.     * malloc/mcheck.c (mcheck): Remove obsolete extern declaration.
  1022.  
  1023.     * malloc/mcheck.c (flood): Add an arg.
  1024.     (freehook, mallochook, reallochook): Use different flood bytes to
  1025.     distinguish freed space from uninitialized allocated space.
  1026.  
  1027.     * malloc/mtrace.c (mtrace): Guard against being called twice.
  1028.     (muntrace): New function, to turn off tracing.
  1029.     * malloc/malloc.h: Declare it.
  1030.  
  1031. Wed Aug 10 02:47:24 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  1032.  
  1033.     * sysdeps/mach/hurd/mips/sigcontext.h (struct sigcontext): Renamed
  1034.         member `sc_err' to `sc_error'.
  1035.  
  1036.     * hurd/hurd-raise.c: Take new arg SIGERROR.  Set
  1037.     SS->pending_data[SIGNO] from SIGCODE and SIGERROR instead of
  1038.     setting SS->sigcodes[SIGNO].
  1039.  
  1040.     * Makeconfig (+includes): Use text manipulation to avoid
  1041.     conditional for $(..).  Append $(last-includes).
  1042.     * sysdeps/mach/hurd/Makefile (last-includes): Append
  1043.         -I.../libthreads to this.
  1044.     (includes): Not to this.
  1045.  
  1046.     * hurd/hurd/fd.h (_hurd_fd_error): Pass ERR to _hurd_raise_signal.
  1047.  
  1048.     * stdlib/stdlib.h [__OPTIMIZE__] (cfree, rand, srand, random,
  1049.     srandom, initstate, setstate): Macros removed.
  1050.  
  1051.     * malloc/mcheck.c (reallochook): Fixed typo.
  1052.     (mabort) [! __GNU_LIBRARY__]: Use fprintf and abort instead of
  1053.     __libc_fatal.
  1054.  
  1055.     * hurd/Makefile (sig): Remove msging-p; that function will go in
  1056.         trampoline.c.
  1057.     * sysdeps/stub/msging-p.c: File removed.
  1058.     * sysdeps/mach/hurd/mips/msging-p.c: File removed.
  1059.     * sysdeps/mach/hurd/i386/msging-p.c: File removed.
  1060.  
  1061. Tue Aug  9 19:20:29 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  1062.  
  1063.     * hurd/catch-exc.c: Get error code from _hurd_exception2signal and
  1064.     pass it to _hurd_internal_post_signal.  Search for SS manually
  1065.     rather than using _hurd_thread_sigstate, to avoid locks.
  1066.  
  1067.     * sysdeps/mach/hurd/mips/msging-p.c: Fetch port argument from
  1068.     register $8 (t0) instead of stack.  Change type of STATE arg to
  1069.     `struct machine_thread_all_state *'.
  1070.  
  1071.     * inet/inet_netof.c: Incorporated from BSD 4.4-Lite.
  1072.     * inet/inet_net.c: Incorporated from BSD 4.4-Lite.
  1073.  
  1074. Tue Aug  9 18:28:40 1994  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>
  1075.  
  1076.     * malloc/mtrace.c (tr_mallochook, tr_reallochook): Don't assume
  1077.     %lx format matches size_t arg.
  1078.     * malloc/mtrace.c: Enable file- and line-number tracing.
  1079.     * malloc/mtrace.awk: Postprocess that trace information.
  1080.  
  1081.     * malloc/mcheck.c (flood): New function.
  1082.     (freehook, mallochook, reallochook): Initialize new space and
  1083.     freed space to non-zero garbage, to help find code that makes
  1084.     unwarranted assumptions.
  1085.  
  1086. Mon Aug  8 01:20:56 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  1087.  
  1088.     * sysdeps/mach/hurd/mips/exc2signal.c (_hurd_exception2signal): Take
  1089.         new arg `int *error'; set it.
  1090.     * sysdeps/mach/hurd/i386/exc2signal.c: Likewise.
  1091.     * sysdeps/stub/exc2signal.c: Likewise.
  1092.     * hurd/hurd/signal.h (_hurd_exception2signal): Take new arg
  1093.     `int *error'.
  1094.     (_hurd_internal_post_signal): Take new arg `int error'.
  1095.  
  1096.     * res: Directory renamed to resolv.
  1097.     * sysdeps/unix/inet/Subdirs: Change res to resolv.
  1098.  
  1099.     * Version 1.08.6.
  1100.  
  1101.     * sysdeps/sparc/divrem.m4 (DEVELOP_QUOTIENT_BITS): Use ** instead of
  1102.     ^ for exponentiation.  Pinard says it is more portable.
  1103.  
  1104.     * sysdeps/mach/hurd/mips/sigcontext.h (struct sigcontext): Added
  1105.         member `sc_err'.
  1106.     * sysdeps/mach/hurd/i386/sigcontext.h (struct sigcontext): Move
  1107.     sc_err to front machine-independent section; change its comment.
  1108.  
  1109.     * sysdeps/stub/thread_state.h (struct machine_thread_all_state): New
  1110.     type.
  1111.     * sysdeps/mach/i386/thread_state.h: Likewise.
  1112.     * sysdeps/mach/mips/thread_state.h: Likewise.
  1113.  
  1114.     * sysdeps/mach/i386/Implies: File removed; it was superfluous.
  1115.  
  1116.     * sysdeps/sparc/divrem.m4 (Lgot_result): Add more quotes in ifelse.
  1117.  
  1118.     * configure.in (fpu_dirs): Fixed typo.
  1119.  
  1120. Sun Aug  7 01:13:04 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  1121.  
  1122.     * inet/inet_lnaof.c: Incorporated from BSD 4.4-Lite.
  1123.     * inet/inet_mkadr.c: Incorporated from BSD 4.4-Lite.
  1124.     * inet/inet_addr.c: Incorporated from BSD 4.4-Lite.
  1125.     * res/Makefile (headers): Use only arpa/nameser.h, not arpa/*.h.
  1126.     * res/arpa/inet.h: Moved to inet/arpa/inet.h.
  1127.     * inet/arpa/inet.h: Incorporated from BSD 4.4-Lite.
  1128.  
  1129.     * misc/init-misc.c: New file.
  1130.     * misc/Makefile (aux): Added init-misc.
  1131.  
  1132.     * Makeconfig (localtime-file): Use $(sysconfdir) instead of
  1133.         $(etcdir).
  1134.  
  1135.     * Makerules (install-bin-nosubdir): Use $(install-bin) instead of
  1136.         $(install).
  1137.     (install-sbin-nosubdir): New target.
  1138.     (install-no-libc.a-nosubdir): Depend on that.
  1139.  
  1140.     * configure.in ($nfp check): Iterate through $mach and use all
  1141.         fpu/ dirs that exist.
  1142.  
  1143. Wed Aug  3 02:46:03 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  1144.  
  1145.     * sysdeps/mach/hurd/mips/sigcontext.h: Rearranged structure so
  1146.     machine-dependent portion is laid out like `struct mips_thread_state;
  1147.     struct mips_exc_state; struct mips_float_state;'.
  1148.  
  1149.     * Version 1.08.5.
  1150.  
  1151.     * sysdeps/mach/hurd/mips/__sigret.c: Compare *reply_port to
  1152.         MACH_PORT_NULL, not implicit zero.
  1153.     (restore_gpr): Use N-1 as subscript into sc_gpr (sc_gpr[0] => $1).
  1154.     Before general regs, restore from sc_mdlo and sc_mdhi.  Don't
  1155.     treat sp, fp specially; use restore_gpr for them too.  For final
  1156.     return, store user $1 value beyond top of user stack ahead of
  1157.     time; then use $1 to hold the user PC, and restore it from the
  1158.     stack in the delay slot.
  1159.  
  1160. Tue Aug  2 21:03:51 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  1161.  
  1162.     * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler):
  1163.         Copy TS to SCP all at once.
  1164.     * sysdeps/mach/hurd/mips/sigcontext.h (struct sigcontext): sc_gpr
  1165.     has 31 elts; sc_gpr, sc_pc, sc_mdlo, sc_mdhi are arranged in that
  1166.     order to mimic struct mips_thread_state.
  1167.  
  1168.     * Make-dist (all-headers): Instead of removing rpcsvc/%, use
  1169.     $(wildcard) to remove all headers that don't exist at top level,
  1170.     but preserve top-level $(headers).
  1171.  
  1172.     * Make-dist (sysdep_dirs): Avoid directories called RCS.
  1173.     (%/configure): Pass -f to mv.
  1174.  
  1175.     * sysdeps/mips/setjmp.S [__sgi__]: Use `fp' instead of `$fp'.
  1176.  
  1177. Mon Aug  1 20:12:23 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  1178.  
  1179.     * sysdeps/mach/hurd/mips/sigcontext.h (struct sigcontext): Add
  1180.         members sc_mdlo, sc_mdhi.
  1181.     * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler):
  1182.         Save mdlo and mdhi.
  1183.  
  1184. Sun Jul 31 14:21:16 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  1185.  
  1186.     * time/mktime.c: Remove errant comment end sequence.
  1187.  
  1188.     * termios/sys/ttydefaults.h: Incorporated from BSD 4.4-Lite.
  1189.     * sysdeps/vax/DEFS.h: Incorporated from BSD 4.4-Lite.
  1190.     * sysdeps/unix/bsd/sys/reboot.h: Incorporated from BSD 4.4-Lite.
  1191.     * sysdeps/unix/bsd/bsd4.4/errnos.h: Updated from 4.4-Lite sys/errno.h.
  1192.     [__USE_BSD] (EAUTH, ENEEDAUTH, ELAST): New macros.
  1193.     * sysdeps/ieee754/support.c: Incorporated from BSD 4.4-Lite.
  1194.     * sysdeps/ieee754/cbrt.c: Incorporated from BSD 4.4-Lite.
  1195.     * sysdeps/generic/trig.h: Incorporated from BSD 4.4-Lite.
  1196.     * sysdeps/generic/tanh.c: Incorporated from BSD 4.4-Lite.
  1197.     * sysdeps/generic/tan.c: Incorporated from BSD 4.4-Lite.
  1198.     * sysdeps/generic/sinh.c: Incorporated from BSD 4.4-Lite.
  1199.     * sysdeps/generic/sincos.c: Incorporated from BSD 4.4-Lite.
  1200.     * sysdeps/generic/pow.c: Incorporated from BSD 4.4-Lite.
  1201.     * sysdeps/generic/mathimpl.h: Incorporated from BSD 4.4-Lite.
  1202.     Add back __izing #define's, except for exp__E and log__L, which
  1203.     have been renamed with __s in 4.4-Lite.
  1204.     * sysdeps/generic/log__L.c: Incorporated from BSD 4.4-Lite.
  1205.     * sysdeps/generic/log1p.c: Incorporated from BSD 4.4-Lite.
  1206.     * sysdeps/generic/log.c: Incorporated from BSD 4.4-Lite.
  1207.     * sysdeps/generic/fmod.c: Incorporated from BSD 4.4-Lite.
  1208.     * sysdeps/generic/exp__E.c: Incorporated from BSD 4.4-Lite.
  1209.     * sysdeps/generic/exp.c: Incorporated from BSD 4.4-Lite.
  1210.     * sysdeps/generic/cosh.c: Incorporated from BSD 4.4-Lite.
  1211.     * sysdeps/generic/atanh.c: Incorporated from BSD 4.4-Lite.
  1212.     * sysdeps/generic/atan2.c: Incorporated from BSD 4.4-Lite.
  1213.     * sysdeps/generic/asinh.c: Incorporated from BSD 4.4-Lite.
  1214.     * sysdeps/generic/asincos.c: Incorporated from BSD 4.4-Lite.
  1215.     * misc/getusersh.c: Incorporated from BSD 4.4-Lite.
  1216.     (initshells): Reapply fix of 16 Nov 1992.
  1217.     * sysdeps/generic/acosh.c: Incorporated from BSD 4.4-Lite.
  1218.     * sysdeps/generic/__expm1.c: Incorporated from BSD 4.4-Lite.
  1219.     * misc/ttyslot.c: Incorporated from BSD 4.4-Lite.
  1220.     * misc/ttyent.h: Incorporated from BSD 4.4-Lite.
  1221.     * misc/syslog.c: Incorporated from BSD 4.4-Lite.
  1222.     * misc/paths.h: Incorporated from BSD 4.4-Lite.
  1223.     * misc/getttyent.c: Incorporated from BSD 4.4-Lite.
  1224.     * misc/sys/syslog.h: Incorporated from BSD 4.4-Lite.
  1225.     Don't include <machine/ansi>; define _BSD_VA_LIST_ to __gnuc_va_list.
  1226.     * inet/rexec.c: Incorporated from BSD 4.4-Lite.
  1227.     * inet/rcmd.c: Incorporated from BSD 4.4-Lite.
  1228.     (rcmd): Reapply select max fd fix of 3 Jun 1994.
  1229.     * inet/pathnames.h: File removed.
  1230.     * inet/inet_ntoa.c: Incorporated from BSD 4.4-Lite.
  1231.     * inet/getsrvbypt.c: Incorporated from BSD 4.4-Lite.
  1232.     * inet/getsrvbynm.c: Incorporated from BSD 4.4-Lite.
  1233.     * inet/getservent.c: Incorporated from BSD 4.4-Lite.
  1234.     * inet/getprtname.c: Incorporated from BSD 4.4-Lite.
  1235.     * inet/getprtent.c: Incorporated from BSD 4.4-Lite.
  1236.     * inet/getproto.c: Incorporated from BSD 4.4-Lite.
  1237.     * inet/protocols/timed.h: Incorporated from BSD 4.4-Lite.
  1238.     * inet/protocols/talkd.h: Incorporated from BSD 4.4-Lite.
  1239.     * inet/protocols/rwhod.h: Incorporated from BSD 4.4-Lite.
  1240.     * inet/protocols/routed.h: Incorporated from BSD 4.4-Lite.
  1241.     * inet/arpa/tftp.h: Incorporated from BSD 4.4-Lite.
  1242.     * inet/arpa/telnet.h: Incorporated from BSD 4.4-Lite.
  1243.     * inet/arpa/ftp.h: Incorporated from BSD 4.4-Lite.
  1244.  
  1245. Fri Jul 29 01:50:37 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  1246.  
  1247.     * Version 1.08.4.
  1248.  
  1249.     * res/Makefile (routines): Add missing backslash.
  1250.  
  1251.     * sysdeps/mach/hurd/mips/__sigret.c: Rename variable AT (which is
  1252.     the register's name) to SCPREG.  Fix some SCP references in
  1253.     register loads to use SCPREG instead.  Load SCPREG->sc_pc into $24
  1254.     and jump to it, restoring $at in the delay slot.  This still
  1255.     leaves $24 clobbered.
  1256.  
  1257.     * sysdeps/mach/hurd/mips/sigcontext.h: Use `unsigned int'
  1258.         consistently for port names.
  1259.  
  1260.     * sysdeps/mach/hurd/mips/trampoline.c: Don't set up args on the
  1261.         stack; pass them in registers.
  1262.  
  1263.     * Makefile (%/configure, sysd-dirs, munch-init.c): Pass -f to mv.
  1264.  
  1265.     * misc/sys/cdefs.h (__NORETURN, __CONSTVALUE): Use the
  1266.     __attribute__ defn for GCC>=2.7, not >=2.6.  Use the keyword defn
  1267.     only for GCC<2.5.  Use __volatile__ and __const__ instead of
  1268.     noreturn and const for namespace safety.
  1269.  
  1270.     * sysdeps/mach/hurd/__readlink.c: If BUF is null, return the size
  1271.         of buffer required.
  1272.  
  1273. Thu Jul 28 17:17:11 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  1274.  
  1275.     * res/netdb.h: Declare h_errno.
  1276.  
  1277.     * res: New directory, for all code incoporated from BIND.
  1278.     * inet/arpa/inet.h, inet/arpa/resolv.h: Moved to res/arpa.
  1279.     * inet/sys/bitypes.h: Moved to res/sys.
  1280.     * inet/gethstnamad.c: Renamed to res/gethnamaddr.c.
  1281.     * inet/getnetbyad.c: Renamed to res/getnetbyaddr.c.
  1282.     * inet/getnetbynm.c: Renamed to res/getnetbyname.c.
  1283.     * inet/res_mkqry.c: Renamed to res/res_mkquery.c.
  1284.     * inet/Makefile (headers): Removed netdb.h, resolv.h, and
  1285.         sys/bitypes.h.
  1286.     (routines): Removed res_comp res_debug res_init res_mkqry res_query
  1287.     res_send gethstnmad sethostent.
  1288.     (aux, distribute): Variables removed.
  1289.     * res/getnetnamadr.c, res/nsap_addr.c: New files.
  1290.     * All .c and .h in res/ updated from BIND-4.9.3-BETA9.
  1291.     * res/Makefile: New file.
  1292.     * sysdeps/unix/inet/Subdirs: Added res.
  1293.  
  1294.     * Makerules: Replace all uses of `.dep' suffix with `.d' suffix.
  1295.     (+make-deps): Replace `.dtm' suffix with `.T' suffix.
  1296.  
  1297. Wed Jul 27 06:13:30 1994  Noel Cragg  (noel@churchy.gnu.ai.mit.edu)
  1298.  
  1299.     * time/mktime.c: Add code to support tm_isdst flag in struct tm.
  1300.     Fixed bug with handling of DST sections.
  1301.  
  1302. Mon Jul 25 17:17:28 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  1303.  
  1304.     * sysdeps/sparc/divrem.m4 (Lgot_result) [S=true]: Only test SIGN
  1305.         and negate for [OP=div].
  1306.  
  1307.     * socket/sys/socket.h (__SOCKADDR_ARG): New macro; for GCC 2.6 and
  1308.     later, a funky union similar to __WAIT_STATUS in <sys/wait.h>.
  1309.     (bind, getsockname, connect, getpeername, sendto, recvfrom,
  1310.     accept): Use __SOCKADDR_ARG in place of `struct sockaddr *' in
  1311.     declarations.
  1312.  
  1313.     * posix/glob/configure.bat: New file.
  1314.     * posix/Makefile (glob.tar): Add glob/configure.bat.
  1315.  
  1316.     * sysdeps/unix/opendir.c: Fail with ENOENT when passed "".
  1317.     Check STATBUF and fail with ENOTDIR if it's not a directory.
  1318.  
  1319. Mon Jul 25 15:44:18 1994  Noel Cragg  (noel@churchy.gnu.ai.mit.edu)
  1320.  
  1321.     * time/mktime.c: Fix range-checking bug in NORMALIZE macro.
  1322.  
  1323. Fri Jul 22 02:42:44 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
  1324.  
  1325.     * sysdeps/unix/readdir.c: Search for NUL character to limit
  1326.     d_namlen.  Some systems return very bogus values.
  1327.  
  1328.     * sysdeps/unix/sysv/sysv4/i386/sysdep.h (PSEUDO): Remove ret at end.
  1329.  
  1330.     * mach/Makefile (mach-shortcuts): Filter out device_writev_request.
  1331.  
  1332.     * limits.h (_LIBC_LIMITS_H_): Don't define if already defined.
  1333.     [__GNUC__ < 2]: Only protect this section from multiple inclusion.
  1334.  
  1335.     * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
  1336.         Declare SIGSP volatile.
  1337.  
  1338.     * hurd/hurdinit.c (_hurd_setproc): Fixed arg in
  1339.         _hurd_pgrp_changed_hook decl.
  1340.  
  1341.     * hurd/hurd/signal.h (_hurd_self_sigstate_unlocked): New function.
  1342.     (HURD_EINTR_RPC): Use it instead of _hurd_self_sigstate followed by
  1343.     __mutex_unlock; this thread might already hold the lock.
  1344.  
  1345. Wed Jul 20 18:53:54 1994  Michael I Bushnell  <mib@geech.gnu.ai.mit.edu>
  1346.  
  1347.     * hurd/fd-read.c (_hurd_fd_read): Test for EBACKGROUND in
  1348.     do loop was reversed.
  1349.  
  1350.     * hurd/hurdpath.c (__hurd_path_lookup): Skip over initial slashes
  1351.     before calling __dir_pathtrans.
  1352.  
  1353. Tue Jul 19 15:28:39 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1354.  
  1355.     * mach/Makefile (user-interfaces): Add mach/mach4.
  1356.     (mach-shortcuts): Match all syscall_% again; the missing ones are in
  1357.     mach4.defs.
  1358.  
  1359.     * mach/Machrules (%.ir): Match SimpleRoutine as well as Routine
  1360.         comments.
  1361.  
  1362.     * sysdeps/mach/hurd/Makefile ($(hurd)/errlist.c): Use -f flag to mv.
  1363.  
  1364. Sat Jul 16 00:42:30 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1365.  
  1366.     * Makerules [install]: Rewrite this rule to use install-bin.
  1367.     [install-sbin]: New rule parallel to that one, installs in $(sbindir).
  1368.  
  1369.     * time/Makefile (install-sbin): Set this instead of install.
  1370.     * sunrpc/Makefile (install-others): Use $(sysconfdir)/rpc instead
  1371.     of $(etcdir)/rpc.
  1372.     (install-bin): Set this instead of install; set it to just rpocgen.
  1373.     (install-sbin): Put rpcinfo and portmap here instead.
  1374.     ($(sysconfdir)/rpc): Rule renamed from $(etcdir)/rpc.
  1375.     (defines): Rename it in _PATH_RPC defn here too.
  1376.  
  1377.     * posix/Makefile (install-bin): Set this instead of install.
  1378.  
  1379.     * Makeconfig (datadir): Default to $(prefix)/share, not $(prefix)/lib.
  1380.     (sbindir): New variable.
  1381.     (sysconfdir): Variable renamed from etcdir.
  1382.  
  1383.     * sysdeps/unix/bsd/sun/signum.h: New file; no SIGINFO, SIGLOST is 29.
  1384.  
  1385.     * sysdeps/unix/sysv/sco3.2.4/uname.S: New file from Scott Bartram.
  1386.  
  1387.     * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: Include alloca.h.
  1388.  
  1389.     * configure.in (INSTALL): If it is $srcdir/install.sh after
  1390.     AC_PROG_INSTALL, reset it to '$(..)./install.sh'.
  1391.  
  1392.     * sysdeps/mach/hurd/__ioctl.c (io2mach_type): Move macro defn before
  1393.     first use.
  1394.     (__ioctl): Fix swapped args to __sigismember; remove unused variable.
  1395.  
  1396.     * sysdeps/mach/hurd/send.c: Fix portsPoly arg to __socket_send.
  1397.     * sysdeps/mach/hurd/sendto.c: Likewise.
  1398.  
  1399.     * sysdeps/mach/hurd/recv.c: Pass &BUFP, not BUFP.
  1400.     * sysdeps/mach/hurd/recvfrom.c: Likewise.
  1401.  
  1402.     * sysdeps/mach/hurd/connect.c: Include <hurd/ifsock.h>.
  1403.  
  1404.     * sysdeps/mips/dec/bytesex.h: New file.
  1405.     * sysdeps/mips/p40/bytesex.h: New file.
  1406.  
  1407. Fri Jul 15 23:12:06 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1408.  
  1409.     * posix/sys/types.h (u_quad, quad): Renamed to &_t.
  1410.     * posix/gnu/types.h [__GNUC__] (__u_quad_t, __quad_t, __qaddr_t):
  1411.     New typedefs, using long long int and derivatives.
  1412.     [! __GNUC__] (__u_quad, __quad): Renamed to &_t.
  1413.     (__fsid_t): Make this always be __u_quad_t.
  1414.  
  1415.     * time/sys/time.h (struct timespec): New type.
  1416.     (TIMEVAL_TO_TIMEPSEC, TIMESPEC_TO_TIMEVAL): New macros.
  1417.  
  1418. Thu Jul 14 15:43:39 1994  Brendan Kehoe  (brendan@zen.org)
  1419.  
  1420.     * sysdeps/unix/sysv/sysv4/sysinfo.S: New file.
  1421.     * sysdeps/unix/sysv/sysv4/Dist: Add sysinfo.S.
  1422.     * sysdeps/unix/sysv/sysv4/Makefile: Add sysinfo to sysdep_routines
  1423.     if we're inside misc.
  1424.     * sysdeps/unix/sysv/sysv4/sethostnam.c: New file.
  1425.     * sysdeps/unix/sysv/sysv4/__gethstnm.c: New file.
  1426.  
  1427.     * sysdeps/unix/sysv/sysv4/solaris2/fsync.S: New file.
  1428.  
  1429. Tue Jul 12 00:57:08 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1430.  
  1431.     * mach/Makefile (mach-shortcuts): Only match known Mach
  1432.     subsystems: vm, task, mach_port, and thread.
  1433.  
  1434. Mon Jul 11 20:18:29 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1435.  
  1436.     * hurd/intr-rpc.defs, hurd/intr-rpc.awk: New files.
  1437.     * hurd/Makefile (user-MIGFLAGS): Add -imacros intr-rpc.defs.
  1438.     (transform-user-stub): New canned sequence.
  1439.     (transform-user-stub-output): New variable.
  1440.     Make the .ustamp files depend on intr-rpc.awk.
  1441.  
  1442.     * mach/Machrules (%.ir): Cull the RPC names from the preceding
  1443.     comment rather than the definition, so we don't see any userprefix.
  1444.     (transform-user-stub-output): New variable.
  1445.     (%.ustamp: %.defs): Invoke $(transform-user-stub) inside for loop.
  1446.     Use $(transform-user-stub-output) in place of `tmp' in arg to
  1447.     move-if-change.
  1448.  
  1449.     * mach/Makefile [! mach-shortcuts] (user-interfaces): Also filter
  1450.     out device/device_request.
  1451.  
  1452. Mon Jul 11 17:50:14 1994  Brendan Kehoe  (brendan@mole.gnu.ai.mit.edu)
  1453.  
  1454.     * sysdeps/unix/sysv/sysv4/Makefile: Put the sys-sig.S stuff in
  1455.     here, rather than in .../sysv4/solaris2/sparc/Makefile.
  1456.     * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile: Removed the
  1457.     sys-sig.S part.
  1458.  
  1459. Sun Jul 10 19:04:24 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1460.  
  1461.     * sysdeps/mach/hurd/bind.c: Call __hurd_invoke_translator.
  1462.  
  1463.     * hurd/hurd.h (__hurd_invoke_translator, hurd_invoke_translator):
  1464.     Declare them.
  1465.     * hurd/Makefile (routines): Add invoke-trans.
  1466.     * hurd/invoke-trans.c (__hurd_invoke_translator): New file.
  1467.     * hurd/hurdsyms.c (hurd_invoke_translator): New alias.
  1468.  
  1469.     * hurd/hurdpath.c (__hurd_path_lookup_retry): New function.
  1470.     * hurd/hurdsyms.c (hurd_path_lookup_retry: New alias.
  1471.     * hurd/hurd.h (__hurd_path_lookup_retry, hurd_path_lookup_retry):
  1472.     Declare them.
  1473.  
  1474.     * hurd/hurd/fd.h (_hurd_fd_error_signal): Return SIGLOST for
  1475.     MIG_SERVER_DIED.
  1476.  
  1477.     * time/strftime.c: Make %j value 1-origin instead of 0-origin.
  1478.  
  1479. Sat Jul  9 02:31:23 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1480.  
  1481.     * gnu-stabs.h (__SYMBOL_PREFIX): New macro, based on NO_UNDERSCORES.
  1482.     Use it in all macros instead of explicit leading underscores.
  1483.     Removed all [! __STDC__] definitions.
  1484.  
  1485.     * sysdeps/mach/hurd/mips/trampoline.c: New file.
  1486.     * sysdeps/mach/hurd/mips/sigcontext.h: New file.
  1487.     * sysdeps/mach/hurd/mips/longjmp-ts.c: New file.
  1488.     * sysdeps/mach/hurd/mips/msging-p.c: New file.
  1489.     * sysdeps/mach/hurd/mips/longjmp-ctx.c: New file.
  1490.     * sysdeps/mach/hurd/mips/init-fault.c: New file.
  1491.     * hurd/mach/hurd/mips/__sigret.c: New file.
  1492.     * sysdeps/mach/hurd/mips/exc2signal.c: New file.
  1493.     * sysdeps/mach/mips/thread_state.h: New file.
  1494.     * sysdeps/mach/mips/machine-sp.h: New file.
  1495.     * sysdeps/mach/mips/machine-lock.h: New file.
  1496.     * sysdeps/mach/mips/sysdep.h: New file.
  1497.  
  1498.     * mach/Makefile (mach-syscalls.mk): Snarf 3rd arg from kernel_trap.
  1499.     ($(mach-syscalls:%=__%.S): Emit kernel_trap instead of SYSCALL_TRAP.
  1500.     * mach/syscalls.awk: Print nargs-$1 = $3 for each line.
  1501.     * sysdeps/mach/sysdep.h: Include <mach/machine/syscall_sw.h>.
  1502.     * sysdeps/mach/i386/sysdep.h (ENTRY, SYSCALL_TRAP): Macros removed.
  1503.  
  1504.     * sysdeps/mach/i386/machine-lock.h: Use __volatile in place of
  1505.     volatile to work with -traditional.
  1506.  
  1507. Fri Jul  8 21:06:43 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1508.  
  1509.     * hurd/hurdsig.c (_hurd_internal_post_signal): For stop signals,
  1510.     clear pending SIGCONT no matter what action we choose.
  1511.     Add new value `cont' to ACT enum; use it for default SIGCONT action.
  1512.     (_hurd_internal_post_signal: sigwakeup): New local inline.
  1513.  
  1514. Fri Jul  8 20:26:49 1994  Brendan Kehoe  (brendan@zen.org)
  1515.  
  1516.     * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile (sysdep-CFLAGS): Set
  1517.     this to include the -mhard-quad-float option.
  1518.  
  1519.     * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S: New file.
  1520.     * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile: New file.
  1521.     * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
  1522.  
  1523. Fri Jul  8 13:54:54 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1524.  
  1525.     * hurd/hurdpath.c (__hurd_path_lookup): Don't treat leading /
  1526.     specially for FS_RETRY_NORMAL.  Handle FS_RETRY_MAGICAL; leading /
  1527.     here means use crdir.  In that case, deallocate *RESULT if nonnull.
  1528.  
  1529.     * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Don't define _ERRNO_H if
  1530.     already defined.
  1531.  
  1532.     * posix/gnu/types.h (__ino_t): Make this unsigned int instead of
  1533.     unsigned long int (matters for Alpha).
  1534.  
  1535.     * Makeconfig (+gccopt): Variable removed.
  1536.     (+cflags): Don't use it.
  1537.     (CPPFLAGS): Append $(sysdep-CPPFLAGS).
  1538.     (CFLAGS): Append $(sysdep-CFLAGS).
  1539.  
  1540.     * sysdeps/mach/hurd/__ioctl.c: In MSGID calculation, skip blocks
  1541.     of 100 for request commands >= 100, to allow for the reply msgids.
  1542.  
  1543. Thu Jul  7 19:07:00 1994  Brendan Kehoe  (brendan@zen.org)
  1544.  
  1545.     * sysdeps/unix/bsd/osf1/dirstream.h (DIR): Make __allocation
  1546.     member be int, not size_t (which is a long).
  1547.  
  1548. Thu Jul  7 15:21:15 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1549.  
  1550.     * hurd/__fopenport.c (readio, writeio, seekio, closeio): New functions.
  1551.     (funcsio): New const variable.
  1552.     (__fopenport): Make the new stream use that for its io functions, and
  1553.     the default room functions, and set its seen flag.
  1554.  
  1555. Tue Jul  5 11:32:38 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1556.  
  1557.     * hurd/hurd/signal.h (struct hurd_sigstate): Removed `intr_restart'.
  1558.     (HURD_EINTR_RPC): Uncommented.  Declare label
  1559.     `__do_call' so it has block instead of function scope.  Don't use
  1560.     SS->intr_restart; instead SS->intr_port being reset to
  1561.     MACH_PORT_NULL tells us to restart the call.
  1562.  
  1563.     * sysdeps/mach/hurd/__ioctl.c: Enable use of HURD_EINTR_RPC.
  1564.     Do ctty magic and check for EBACKGROUND to generate SIGTTOU.
  1565.  
  1566.     * mach/devstream.c (dealloc_ref): New function.
  1567.     (mach_open_devstream): Add a user reference to DEV, and set
  1568.     STREAM's close fn to dealloc_ref, which will release the reference.
  1569.  
  1570.     * hurd/fd-read.c (_hurd_fd_read): Enabled and rewrote SIGTTIN code.
  1571.     * hurd/fd-write.c (_hurd_fd_write): Enabled and rewrote SIGTTOU code.
  1572.  
  1573.     * hurd/hurdsyms.c: Add an alias hurd_sig_post -> _hurd_sig_post.
  1574.     * hurd/hurdkill.c (_hurd_sig_post): Renamed back from hurd_sig_post.
  1575.     * hurd/hurd.h: Declare _hurd_sig_post.
  1576.  
  1577.     * hurd/hurdsig.c (_S_sig_post): Add SIGTTIN and SIGTTOU cases,
  1578.     handled like SIGINT et al.
  1579.  
  1580.     * mach/devstream.c: Turn back on NL->CRNL translation.
  1581.  
  1582.     * stdio/xbug.c (main): Return instead of running off the end.
  1583.  
  1584. Mon Jul  4 16:57:13 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1585.  
  1586.     * Version 1.08.3.
  1587.  
  1588. Sat Jul  2 00:15:37 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1589.  
  1590.     * sysdeps/mach/hurd/__ioctl.c: Account for three type fields in
  1591.     message buffer size.
  1592.  
  1593.     * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
  1594.     Catch faults accessing user stack and return NULL.
  1595.     * hurd/hurdsig.c (_hurd_internal_post_signal): When it does, die
  1596.     with SIGILL and dump core.
  1597.  
  1598.     * hurd/hurdsig.c (_hurd_internal_post_signal): Use
  1599.     _hurd_msgport_thread instead of __mach_thread_self () to avoid the
  1600.     system call.  (Signals will now lose if _hurd_msgport_thread gets
  1601.     clobbered.)
  1602.     (abort_rpcs): Always do thread_abort and thread_get_state.
  1603.  
  1604.     * misc/getpass.c: Fix typo resulting in newline not being removed.
  1605.  
  1606.     * termios/sys/ttydefaults.h [TTYDEFCHARS] (ttydefchars): Cast
  1607.     _POSIX_VDISABLE to cc_t to avoid gcc warning.
  1608.  
  1609. Fri Jul  1 14:07:40 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1610.  
  1611.     * hurd/Makefile (user-interfaces): Add hurd/ifsock.
  1612.  
  1613.     * socket/sys/socket.h (AF_LOCAL): New macro.
  1614.  
  1615.     * sysdeps/mach/hurd/__kill.c: Fix SIGKILL loop condition.
  1616.  
  1617. Fri Jul  1 13:36:27 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)
  1618.  
  1619.     * hurd/hurdkill.c (hurd_sig_post): New var PIDSBUF; initialize
  1620.     PIDS and NPIDS correctly; only free PIDS if the MiG stub
  1621.     changed it.
  1622.  
  1623. Thu Jun 30 18:47:48 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)
  1624.  
  1625.     * hurd/hurdsock.c (_hurd_socket_server): Zero up to and *including*
  1626.     new[DOMAIN].
  1627.  
  1628. Thu Jun 30 08:12:28 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1629.  
  1630.     * hurd/hurdsig.c (abort_all_rpcs): Just iterate over _hurd_sigstates.
  1631.  
  1632.     * hurd/dtable.c (fork_child_dtable): Skip empty descriptor slots.
  1633.  
  1634.     * sysdeps/mach/hurd/__ioctl.c: Fix MSG.data size calculation.
  1635.  
  1636. Wed Jun 29 19:06:54 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1637.  
  1638.     * sysdeps/mach/hurd/bind.c: For AF_LOCAL, create a new node in the
  1639.     filesystem, put the ifsock translator on it, and fetch the
  1640.     address port.
  1641.     * sysdeps/mach/hurd/connect.c: For AF_LOCAL, look up the socket
  1642.     file and fetch the address port using the ifsock protocol.
  1643.  
  1644. Tue Jun 28 16:03:15 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1645.  
  1646.     * hurd/Makefile (routines): Add ports-get, ports-set, and hurdmsg.
  1647.     (aux): Remove msgstub.
  1648.     * hurd/hurdports.c (get): Just call _hurd_ports_get.
  1649.     (set): Just call _hurd_ports_set.
  1650.     (getcttyid, setcttyid): New functions.
  1651.     * hurd/ports-get.c (_hurd_ports_get): New file, new function.
  1652.     * hurd/ports-set.c (_hurd_ports_set): New file, new function.
  1653.     * hurd/hurd.h: Declare _hurd_ports_get and _hurd_ports_set.
  1654.     Declare getcttyid and setcttyid.
  1655.     * hurd/__setauth.c (__setauth): Just call _hurd_setauth.
  1656.     (_hurd_setauth): New function, code moved from __setauth.
  1657.     * hurd/hurdinit.c (_hurd_setproc): New function.
  1658.     * hurd/hurdioctl.c (_hurd_setcttyid): New function.
  1659.  
  1660.     * locale/C-ctype_ct.c (__ctype_tolower_C, __ctype_toupper_C): Use
  1661.     integer constants instead of character constants for octal values
  1662.     so they will not be sign extended.
  1663.  
  1664.     * sysdeps/mach/hurd/__setitmr.c (fork_itimer): New function, on
  1665.     _hurd_fork_child_hook.
  1666.  
  1667.     * sysdeps/stub/sysd-stdio.c (__stdio_reopen): Fix typo in arg type.
  1668.     * sysdeps/stub/__ioctl.c: Fix type of REQUEST arg.
  1669.     * sysdeps/stub/syscall.c: Include ansidecl.h.
  1670.     * sysdeps/stub/_exit.c: Add __NORETURN to defn.
  1671.  
  1672.     * sysdeps/unix/sysv/sysv4/sigset.h (_EXTERN_INLINE): Define to
  1673.     `extern __inline', not empty.
  1674.  
  1675.     * sysdeps/mach/hurd/ttyname.c: Don't bother searching /dev.
  1676.  
  1677. Sat Jun 25 15:41:29 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1678.  
  1679.     * sysdeps/mach/hurd/__fork.c: Moved proc_task2pid call to just
  1680.     before proc_child.  It is a waste to do it earlier.
  1681.  
  1682. Sat Jun 25 13:17:39 1994  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  1683.  
  1684.     * sysdeps/mach/hurd/__fork.c: Move proc_task2pid call to after
  1685.     _hurd_ports are unlocked.  Call proc_child nearly last thing.
  1686.     Ignore errors from thread_resume.
  1687.  
  1688. Fri Jun 24 20:21:11 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1689.  
  1690.     * sysdeps/posix/getcwd.c: Remove empty `#define'.
  1691.  
  1692. Fri Jun 24 17:57:36 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)
  1693.  
  1694.     * sysdeps/mach/hurd/__fork.c: Call proc_task2pid immediately after
  1695.     task_create.  Add comment explaining why thread_resume must be the
  1696.     last thing we do to the child.
  1697.  
  1698. Fri Jun 24 01:41:41 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1699.  
  1700.     * hurd/hurdinit.c (_hurd_proc_init): Call __proc_set_arg_locations
  1701.     in place of __proc_setprocargs (it was renamed).
  1702.  
  1703.     * hurd/hurd.h: Rename _hurd_sig_post to hurd_sig_post.
  1704.     * hurd/hurdkill.c: Likewise.
  1705.  
  1706.     * hurd/port2fd.c (_hurd_port2fd): Call __term_open_ctty instead of
  1707.     __term_become_ctty, and don't pass the message port.
  1708.     * hurd/hurdioctl.c (rectty_dtable): Likewise.
  1709.     * hurd/dtable.c (fork_child_dtable, ctty_new_pgrp): Likewise.
  1710.  
  1711.     * sysdeps/mach/hurd/__fork.c: Use __proc_{get,set}_arg_locations
  1712.     to propagate argv and envp locations to the child.
  1713.  
  1714.     * stdio/freopen.c (freopen): If STREAM->__seen is clear, pass
  1715.     __stdio_close to __stdio_reopen.
  1716.  
  1717.     * misc/Makefile (install-lib): Add libg.a.
  1718.     ($(objpfx)libg.a): New rule; use make-dummy-lib.
  1719.     (lib): Depend on $(objpfx)libg.a
  1720.  
  1721. Thu Jun 23 01:14:36 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1722.  
  1723.     * termios/termios.h (CCEQ): New macro.
  1724.  
  1725.     * sysdeps/unix/sysv/irix4/__getgrps.c: Add missing __ to fn name.
  1726.  
  1727.     Don't compile in absolute file names for localtime and posixrules
  1728.     files if they were specified relative to $(zonedir).
  1729.     * time/Makefile (installed-localtime-file,
  1730.     installed-posixrules-file): Set these instead of
  1731.     {localtime,posixrules}-file to the absolute file names.
  1732.     ($(localtime-file), $(posixrules-file)): Change targets to
  1733.     $(installed-localtime-file) and $(installed-posixrules-file).
  1734.  
  1735. Wed Jun 22 15:52:26 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1736.  
  1737.     * hurd/Makefile (sig): Add hurdkill.
  1738.  
  1739. Sat Jun 18 12:57:54 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1740.  
  1741.     * stdio/_itoa.h (_itoa): Change type of VALUE to unsigned long long.
  1742.     * stdio/_itoa.c (_itoa): Likewise.
  1743.  
  1744. Thu Jun 16 01:10:41 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1745.  
  1746.     * sysdeps/mach/hurd/dirstream.h (DIR): Replace `__filepos' member
  1747.     with `__entry_ptr' and `__entry_data'.  Remove `__block_size' member.
  1748.     Replace `__offset' member with `__ptr', a char *; no need to include
  1749.     <gnu/types.h>.
  1750.     * sysdeps/mach/hurd/readdir.c: Use those, new dir_readdir protocol.
  1751.     * sysdeps/mach/hurd/opendir.c: Initialize new members.
  1752.     Don't do io_stat to set __blocksize.
  1753.     * sysdeps/mach/hurd/telldir.c: Rewritten; return DIRP->__entry_ptr.
  1754.     * sysdeps/mach/hurd/seekdir.c: Rewritten; just set DIRP->__entry_ptr
  1755.     from arg, and zero DIRP->__size so a new block will be read.
  1756.  
  1757.     * sysdeps/mach/hurd/getcwd.c: Use new dir_readdir protocol.
  1758.  
  1759.     * hurd/msgstub.c: Add stubs for dir_changed, file_changed.
  1760.  
  1761.     * hurd/hurdsock.c (_hurd_socket_server): Removed unused label.
  1762.  
  1763.     * sysdeps/mach/hurd/__getdents.c: Use new dir_readdir protocol.
  1764.  
  1765.     * sysdeps/mach/hurd/__access.c: Open the file with 0 flags and
  1766.     then use file_check_access to discover what we are allowed.
  1767.  
  1768. Tue Jun 14 14:10:03 1994  Brendan Kehoe  (brendan@zen.org)
  1769.  
  1770.     * sysdeps/mips/setjmp.S: Refer to `$fp', not `fp'.
  1771.  
  1772. Tue Jun 14 00:50:54 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1773.  
  1774.     * sysdeps/mach/hurd/__pipe.c: Set FDS[1], not FDS[2].
  1775.  
  1776. Mon Jun 13 06:48:48 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1777.  
  1778.     * sysdeps/unix/bsd/sun/sparc/sigtramp.c (trampoline): Use a
  1779.     comment instead of a pointless insn to reference %0 in final asm.
  1780.  
  1781.     * hurd/hurdsock.c (_hurd_socket_server): If realloc fails, don't
  1782.     fail; just don't cache the port.
  1783.     Look up the server node only if it is not in the cache.
  1784.     Translate errno only if path_lookup fails.
  1785.     (init): New function, on _hurd_preinit_hook.
  1786.  
  1787.     * sysdeps/mach/hurd/__symlink.c: Complement _hurd_umask before ANDing.
  1788.  
  1789. Sat Jun 11 12:52:28 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1790.  
  1791.     * sysdeps/mach/hurd/__fork.c: Can't insert dead name rights into child.
  1792.  
  1793. Sat Jun 11 05:19:47 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1794.  
  1795.     * sysdeps/mach/hurd/i386/longjmp-ts.c: Set TS->uesp instead of
  1796.     TS->esp.  Set TS->eip.
  1797.  
  1798.     * gnu-stabs.h (bss_set_element): New macro.
  1799.     * hurd/dtable.c: Use bss_set_element instead of data_set_element
  1800.     to put _hurd_dtable_lock in the _hurd_fork_locks set.
  1801.  
  1802. Fri Jun 10 02:04:51 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1803.  
  1804.     * sysdeps/mach/hurd/__fork.c: Don't apply MACH_PORT_TYPE to result
  1805.     from __mach_port_names.  Unlock SS->lock before return.
  1806.     Check for KERN_NAME_EXISTS from mach_port_allocate_name when
  1807.     creating a receive right and possibly ignore it.
  1808.  
  1809.     * sysdeps/unix/sysv/sco3.2.4/Dist: Add sco_getgrp.S.
  1810.  
  1811.     * crypt/speeds.c: Include signal.h and stdio.h first thing.
  1812.     [! SIGVTALRM]: Define NO_ITIMER.
  1813.  
  1814.     * sysdeps/unix/sysv/isc3/direct.h: New file.
  1815.  
  1816.     * hurd/hurdinline.c: Include lock-intern.h before #define
  1817.     _EXTERN_INLINE.
  1818.  
  1819.     * sysdeps/mach/hurd/__fork.c (_hurd_fork_locks): Don't be const.
  1820.     (__fork): Set SS from _hurd_self_sigstate so it is never null.
  1821.     New local flag PORTS_LOCKED records when we have spin_locked all
  1822.     the _hurd_ports cells; unlock them if necessary on error.
  1823.  
  1824.     * hurd/hurdsig.c (_hurd_siglock): Don't initialize it.
  1825.     (_hurdsig_init): Initialize _hurd_siglock at runtime.
  1826.  
  1827. Wed Jun  8 12:22:27 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1828.  
  1829.     * hurd/hurdid.c (_hurd_check_ids): Zero P->nuids and P->ngids after
  1830.     deallocating P->uids and P->ngids.
  1831.  
  1832.     * hurd/hurdioctl.c (_hurd_ioctl_handler_lists): Make defn initialized.
  1833.  
  1834.     * sysdeps/mach/hurd/__ioctl.c: Only try to unpack if IOC_OUT is set.
  1835.  
  1836.     * hurd/Makefile (routines): Replace $(inlines) with hurdinline.
  1837.     (inlines): Variable and rule removed.
  1838.     (generate-inlines): Variable removed.
  1839.     * hurd/hurdinline.c: New file.
  1840.  
  1841. Tue Jun  7 01:58:20 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1842.  
  1843.     * Makerules: Add -f to all mv commands missing it.
  1844.  
  1845.     * hurd/Makefile (generate-inline): New canned sequence.
  1846.     (inline-%.c): Use it.
  1847.  
  1848.     * time/asia, time/europe, time/northamerica: New versions from ADO.
  1849.  
  1850. Mon Jun  6 21:36:04 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1851.  
  1852.     * hurd/hurdid.c (init_id): New function.
  1853.  
  1854.     * Makerules (+make-deps): Put first s cmd before $(sed-remove-objpfx).
  1855.     (sed-remove-objpfx): Replace occurrences at beginning of line too.
  1856.  
  1857. Sun Jun  5 14:34:12 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1858.  
  1859.     * Version 1.08.1.
  1860.  
  1861.     * sysdeps/mach/hurd/ioctls.h (_IOR, _IOW): Swap IOC_IN and IOC_OUT.
  1862.  
  1863.     * sysdeps/mach/hurd/__ioctl.c: Only pack input for ioctls that
  1864.     take input.  Compute expected reply size for ioctls that take
  1865.     output and check it properly.
  1866.  
  1867. Sat Jun  4 00:35:42 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1868.  
  1869.     * sysdeps/mach/hurd/ioctls.h (union __ioctl): Type removed.
  1870.     (enum __ioctl_datum): Name this enum.
  1871.     (_IOC_INOUT, _IOC_GROUP, _IOC_COMMAND, _IOC_TYPE): New macros.
  1872.     (_IOT_TYPE[012], _IOT_COUNT[012]): New macros.
  1873.     * sysdeps/mach/hurd/__ioctl.c: Use those macros instead of the union.
  1874.  
  1875.     * sysdeps/mach/hurd/__fork.c: Major rewrite.  Copy all ports
  1876.     present in the task, not just library-maintained ones.  Handle
  1877.     sigstate and signal thread setup explicitly here.
  1878.     * hurd/hurdsig.c (hurdsig_fork, hurdsig_fork_child): Functions removed.
  1879.  
  1880.     * hurd/hurdpid.c (init_pids): Don't put this on _hurd_fork_child_hook.
  1881.  
  1882.     * sysdeps/mach/hurd/__isatty.c: New file.
  1883.  
  1884.     * hurd/hurdsock.c (_hurd_socket_server): Pass NP to __path_lookup,
  1885.     not NAME (most of which is uninitialized).
  1886.  
  1887.     * hurd/hurdsig.c (_hurdsig_init): Don't check for _hurd_msgport
  1888.     being non-null; always initialize it.
  1889.  
  1890. Fri Jun  3 21:57:14 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1891.  
  1892.     * hurd/hurdrlimit.c (init_rlimit): Restore __mutex_init call.
  1893.     (_hurd_rlimit_lock): Set initializer to random value; run-time
  1894.     initialization is always required.
  1895.  
  1896.     * inet/rcmd.c (rcmd): Compute max fd + 1 for select instead of
  1897.     hardcoding 32.
  1898.  
  1899. Wed Jun  1 10:52:41 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)
  1900.  
  1901.     * hurd/hurdrlimit.c (_hurd_rlimits, _hurd_rlimit_lock): Provide
  1902.     initializers so that the file is included in the link properly.
  1903.     (init_rlimit): Omit call to __mutex_init.
  1904.  
  1905. Tue May 31 18:15:33 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  1906.  
  1907.     * hurd/hurdmalloc.c (more_memory): Do spin_lock_init on H->lock.
  1908.     (malloc_init): New function; put it on _hurd_preinit_hook.
  1909.  
  1910.     * sysdeps/mach/hurd/defs.c (init_stdio): If stream already
  1911.     allocated, don't allocate a new one.  Don't crash if _hurd_alloc_fd
  1912.     returns null if __newstream does.
  1913.  
  1914.     * sysdeps/mach/hurd/__brk.c (init_brk): If _hurd_brk is nonzero,
  1915.     leave it as it is.  Set PAGEND from _hurd_brk instead of &_end.
  1916.  
  1917. Mon May 30 18:37:47 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1918.  
  1919.     * hurd/hurdrlimit.c (init_rlimit): Put this on _hurd_preinit_hook
  1920.     instead of _hurd_subinit.
  1921.  
  1922.     * sysdeps/mach/hurd/mig-reply.c (mig_fork_child): Function removed.
  1923.     * hurd/dtable.c (fork_parent_dtable): Function removed.
  1924.  
  1925.     * sysdeps/generic/resourcebits.h: Rename RLIM_NLIMITS to
  1926.     RLIMIT_NLIMITS, add alias for old name.
  1927.  
  1928.     * sysdeps/mach/hurd/Makefile (hurd-objpfx): New variable.
  1929.     (before-compile): Use that instead of $(common-objpfx).
  1930.  
  1931.     * sysdeps/mach/Makefile [! objpfx] (mach-objpfx): Add trailing slash.
  1932.  
  1933. Fri May 27 01:34:56 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1934.  
  1935.     * hurd/hurdsig.c (_hurdsig_init): Always initialize _hurd_sigthread.
  1936.  
  1937.     * hurd/dtable.c: Use data_set_element instead of text_set_element
  1938.     for _hurd_fork_locks.
  1939.     * hurd/hurdsig.c: Likewise.
  1940.  
  1941.     * hurd/hurd.h (_hurd_set_data_limit): Declaration removed.
  1942.  
  1943.     * hurd/dtable.c (_hurd_dtable_rlimit): Variable removed.
  1944.     (init_dtable): Don't set it.
  1945.  
  1946.     * hurd/Makefile (headers): Add hurd/resource.h.
  1947.     (routines): Add hurdrlimit.
  1948.     * hurd/hurd/resource.h: New file.
  1949.     * hurd/hurdrlimit.c: New file.
  1950.     * sysdeps/mach/hurd/getrlimit.c: Rewritten to just fetch _hurd_rlimits.
  1951.     * sysdeps/mach/hurd/setrlimit.c: Rewritten to just set _hurd_rlimits.
  1952.     * sysdeps/mach/hurd/__brk.c (_hurd_data_limit): Variable removed.
  1953.     (_hurd_set_brk): Use _hurd_rlimits[RLIMIT_DATA].
  1954.     (_hurd_set_data_limit): Function removed.
  1955.     * hurd/alloc-fd.c (_hurd_dtable_rlimit): Variable removed.
  1956.     (_hurd_alloc_fd): Use _hurd_rlimits[RLIMIT_OFILE] instead.
  1957.  
  1958.     * sysdeps/generic/resourcebits.h: Add RLIMIT_NOFILE as an alias
  1959.     for RLIMIT_OFILE.
  1960.  
  1961.     * sysdeps/mach/hurd/mig-reply.c (__mig_init): Argument is stack
  1962.     on which to set the per-thread reply port variable.
  1963.  
  1964.     * sysdeps/mach/hurd/__brk.c (init_brk): Set _hurd_data_end to
  1965.     DATA_SIZE bytes past the beginning of data space, rather than to
  1966.     DATA_SIZE absolutely.  If vm_map fails, set it to PAGEND.
  1967.  
  1968.     * sysdeps/mach/hurd/start.c (_start): Run _hurd_preinit_hook right
  1969.     after __mach_init.
  1970.  
  1971.     * stdio/freopen.c (freopen): Rewritten using __stdio_reopen to
  1972.     preserve the old cookie value when possible.
  1973.     * sysdeps/posix/sysd-stdio.c (__stdio_reopen): New function.
  1974.     * sysdeps/stub/sysd-stdio.c (__stdio_reopen): New function.
  1975.     * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): New function.
  1976.  
  1977.     * stdio/freopen.c (freopen): Close the stream if MODE is invalid.
  1978.  
  1979.     * hurd/hurdsig.c (_hurd_core_limit): Define variable.
  1980.  
  1981.     * socket/sys/socket.h (PF_LOCAL): Define in preference to PF_FILE.
  1982.  
  1983. Thu May 26 12:09:51 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)
  1984.  
  1985.     * hurd/alloc-fd.c (_hurd_alloc_fd): Don't return EINVAL when
  1986.     FIRST_FD is greater than _hurd_dtablesize and less than
  1987.     _hurd_dtable_rlimit.  If we want to grow _hurd_dtable, but
  1988.     _hurd_dtablesize is as big as _hurd_dtable_rlimit, then return
  1989.     EMFILE.  When growing _hurd_dtable, actually do something if
  1990.     _hurd_dtablesize is zero.
  1991.     
  1992.     * hurd/hurdmalloc.c (malloc_fork_prepare, malloc_fork_parent,
  1993.     malloc_fork_child): Declare as static so they don't conflict with
  1994.     the user's version of this file.
  1995.  
  1996. Wed May 25 20:55:16 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1997.  
  1998.     * sysdeps/mach/hurd/__brk.c: Include <cthreads.h> instead of <mutex.h>.
  1999.  
  2000.     * hurd/hurdmalloc.c, hurd/hurdmalloc.h: New files (temporary hack).
  2001.     * hurd/Makefile (routines): Append hurdmalloc.
  2002.     (distribute): Append hurdmalloc.h.
  2003.     * hurd/alloc-fd.c: Include "hurdmalloc.h" (temporary hack).
  2004.     * hurd/dtable.c: Likewise.
  2005.     * hurd/hurdinit.c: Likewise.
  2006.     * hurd/hurdsig.c: Likewise.
  2007.     * hurd/hurdsock.c: Likewise.
  2008.     * hurd/new-fd.c: Likewise.
  2009.     * sysdeps/mach/hurd/start.c: Likewise.
  2010.  
  2011.     * sysdeps/mach/hurd/start.c (start1): Use malloc and a for loop
  2012.     instead of calloc.
  2013.     * hurd/hurdsig.c (_hurd_thread_sigstate): Use malloc and memset
  2014.     instead of calloc.
  2015.  
  2016.     * sysdeps/mach/hurd/__brk.c (init_brk): Reference self to avoid
  2017.     compiler warning.  Add init_brk to _hurd_preinit_hook instead of
  2018.     __libc_subinit.
  2019.  
  2020.     * sysdeps/mach/hurd/start.c (_hurd_preinit_hook): New variable.
  2021.     (start1): Run _hurd_preinit_hook before threadvar setup.
  2022.  
  2023. Tue May 24 17:42:34 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2024.  
  2025.     * hurd/dtable.c (init_dtable): Initialize _hurd_dtablesize to
  2026.     _hurd_init_dtablesize.  Initialize _hurd_dtable_rlimit as
  2027.     _hurd_dtablesize used to be set, but don't let it be zero.
  2028.     (_hurd_dtable_rlimit): New variable.
  2029.  
  2030. Tue May 24 12:57:19 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)
  2031.  
  2032.     * sysdeps/mach/sleep.c (sleep): Timeout arg to mach_msg is
  2033.     in milliseconds, not microseconds; compute it accordingly.
  2034.  
  2035.     * sysdeps/mach/hurd/__select.c (__select): Deleted variables
  2036.     DTABLE and DTABLE_ULINK.  Use new vars _hurd_dtablesize and
  2037.     _hurd_dtable instead of old _hurd_dtable structure.  Use new
  2038.     locking protocol on _hurd_dtable.
  2039.  
  2040. Tue May 24 01:55:24 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2041.  
  2042.     * sysdeps/mach/hurd/__setitmr.c: Don't include mutex.h.
  2043.  
  2044.     * sysdeps/mach/hurd/defs.c (init_stdio): Reference self.
  2045.  
  2046.     * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Include
  2047.     sysdeps/unix/sysv/i386/sysdep.h, not sysdeps/unix/i386/sysdep.h
  2048.  
  2049. Mon May 23 19:05:44 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2050.  
  2051.     * sysdeps/mach/hurd/Makefile (mib_hacks, defines): Variables removed.
  2052.  
  2053.     * mach/devstream.c (mach_open_devstream): Set STREAM's seek and
  2054.     fileno io functions to null.
  2055.  
  2056.     * hurd/hurdexec.c (_hurd_exec): Fixed adding of dtable ports to
  2057.     PLEASE_DEALLOC array.
  2058.  
  2059.     * sysdeps/mach/hurd/defs.c (init_stdio): Unlock the descriptors
  2060.     after fetching them.  If a standard descriptor is not allocated,
  2061.     allocate the structure and store its pointer in the stream anyway.
  2062.  
  2063.     * stdio/gets.c: Only return null on P==S if feof (STREAM).
  2064.  
  2065.     * stdio/vfprintf.c: Make %Z a type modifier, not a format spec.
  2066.  
  2067.     * sysdeps/mach/hurd/fdopen.c: Return NULL rather than -1 for error.
  2068.  
  2069. Mon May 23 14:24:50 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)
  2070.  
  2071.     * sysdeps/mach/hurd/__close.c (__close): Use new _hurd_fd_get
  2072.     protocol.
  2073.     * sysdeps/mach/hurd/__dup2.c (__dup2): Likewise.  Use
  2074.     _hurd_dtablesize and _hurd_dtable instead of old _hurd_dtable
  2075.     structure.
  2076.  
  2077.     * sysdeps/mach/hurd/sysd-stdio.c (__stdio_seek): Use
  2078.     HURD_FD_PORT_USE, not HURD_FD_USE.
  2079.     * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Variable
  2080.     is D, not FD.
  2081.  
  2082.     * hurd/alloc-fd.c (_hurd_alloc_fd): Arg FIRST_FD is not actually
  2083.     const. 
  2084.     * hurd/hurdsig.c (_hurd_internal_post_signal [case SIGINFO]): If
  2085.     we are not the process group leader, ignore the signal.
  2086.     (_S_sig_post [case SIGURG]): Declaration of D was out of place.
  2087.  
  2088.     * sysdeps/mach/hurd/fdopen.c: Include <hurd/io.h> for 
  2089.     io_get_openmodes prototype.
  2090.  
  2091. Sat May 21 16:03:23 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2092.  
  2093.     * assert/assert.c (__assert_fail): Put program name first in msg.
  2094.  
  2095.     * hurd/Makefile (dtable): Removed setdtsz.
  2096.  
  2097.     * hurd/hurdexec.c: Use _hurd_dtable and _hurd_dtablesize instead of
  2098.     old _hurd_dtable structure.
  2099.     * hurd/hurdsig.c: Likewise.
  2100.     * hurd/alloc-fd.c: Likewise.
  2101.     * hurd/hurdioctl.c (rectty_dtable): Likewise.
  2102.  
  2103.     * Version 1.08 released.
  2104.  
  2105.     * mach/mach_error_string.c: Renamed to errstring.c.
  2106.     * mach/Makefile (routines): Renamed mach_error_string to errstring.
  2107.     * mach/err_mach_ipc.sub: Renamed to err_mach.sub.
  2108.     * mach/err_bootstrap.sub: Renamed to err_boot.sub.
  2109.  
  2110.     * sysdeps/generic/sigset.h (__SIGSETFN): Take new arg CONST; use it
  2111.     for CONST qualifier on SET arg to generated function.
  2112.     Changed uses to pass it; sigismember passes __const, others empty.
  2113.  
  2114.     * sysdeps/mach/hurd/sysd-stdio.c: Rewritten to use `struct hurd_fd *'s
  2115.     for cookies.
  2116.     * sysdeps/mach/hurd/fdopen.c: Rewritten accordinly.
  2117.     * sysdeps/mach/hurd/defs.c (init_stdio): Rewritten accordingly.
  2118.     Add it to the _hurd_fd_subinit hook instead of the __libc_subinit hook.
  2119.     * sysdeps/mach/hurd/stdio_init.c: New file.
  2120.     * hurd/dtable.c (_hurd_fd_subinit): New hook variable.
  2121.     (init_dtable): Run the _hurd_fd_subinit hook.
  2122.  
  2123.     * hurd/hurd/fd.h (struct hurd_dtable): Type removed.
  2124.     (_hurd_dtable_users, _hurd_dtable_rlimit): Variables removed.
  2125.     (_hurd_dtable): Make this a struct hurd_fd **.
  2126.     (_hurd_dtablesize): New variable.
  2127.     (struct hurd_fd_user): Type removed.
  2128.     (_hurd_dtable_get, _hurd_dtable_free, _hurd_dtable_fd): Functions
  2129.     removed.
  2130.     (_hurd_fd_get): Rewritten.  Take just one arg, and look it up in
  2131.     _hurd_dtable; return a struct hurd_fd *.
  2132.     (HURD_FD_USE): Rewritten to use new _hurd_fd_get interface.
  2133.     * hurd/dtable.c    (_hurd_dtable_users, _hurd_dtable_rlimit):
  2134.     Variables removed.
  2135.     (_hurd_dtable): Make this a struct hurd_fd **.
  2136.     (_hurd_dtablesize): New variable.
  2137.     (init_dtable, fork_parent_dtable, fork_child_dtable,
  2138.     ctty_new_pgrp, reauth_dtable): Use new simpler _hurd_dtable format.
  2139.     * sysdeps/mach/hurd/__getdtsz.c: Use _hurd_dtablesize.
  2140.     * sysdeps/mach/hurd/__fcntl.c: Use new _hurd_fd_get protocol.
  2141.  
  2142.     * hurd/dtable.c (get_dtable_port): Return the ctty port if set.
  2143.  
  2144.     * hurd/hurd/fd.h (_hurd_fd_error_signal): New function, broken out
  2145.     of _hurd_fd_error.
  2146.     (_hurd_fd_error): Call it.
  2147.  
  2148.     * hurd/Makefile (dtable): Add fd-close.
  2149.     * hurd/fd-close.c: New file.
  2150.     * hurd/hurd/fd.h: Declare _hurd_fd_close.
  2151.  
  2152.     * sysdeps/mach/hurd/__close.c: Call _hurd_fd_close.
  2153.  
  2154.     * signal/Makefile (routines): Add sigsetops.
  2155.     * signal/sigsetops.c: New file.
  2156.  
  2157.     * sysdeps/unix/sysv/sysv4/sigset.h (_EXTERN_INLINE): New macro.
  2158.     Use it for all the inline functions.
  2159.  
  2160.     * signal/signal.h: Move #include <signum.h> inside #ifdef _SIGNAL_H.
  2161.  
  2162.     * sysdeps/generic/sigset.h: Protect types with #ifndef
  2163.     _SIGSET_H_types.  Protect rest with #if !defined (_SIGSET_H_fns)
  2164.     && defined (_SIGNAL_H).
  2165.     (__SIGSETFN): Add extern declaration of NAME inside function.
  2166.  
  2167.     * sysdeps/unix/ioctls-tmpl.c: Add missing #endif.
  2168.     * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Remember -D.
  2169.  
  2170. Fri May 20 20:42:33 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2171.  
  2172.     * sysdeps/unix/Makefile (sys/termios.h): Variable removed.
  2173.     (ioctl-includes): New variable.
  2174.     (make-ioctls-CFLAGS): Compute value generally from $(ioctl-includes).
  2175.     ($(common-objpfx)ioctls): Depend on $(ioctl-includes), instead of
  2176.     $(sys/termios.h).
  2177.  
  2178.     * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: New file.
  2179.     * sysdeps/unix/sysv/sco3.2.4/Makefile (sysdep_routines): Add
  2180.     sco_getgrp.
  2181.     * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: New file.
  2182.  
  2183.     * sysdeps/generic/sigset.h (__sigismember, __sigaddset, __sigdelset):
  2184.     Rewritten as extern inline functions; check for bogus signal number.
  2185.  
  2186.     * configure.in (names): Put $implied before $* in new $sysnames
  2187.     list remaining to be processed; this ensures unix/common precedes
  2188.     unix/sysv4 for sysv4.
  2189.  
  2190. Thu May 19 18:35:02 1994  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  2191.  
  2192.     * sysdeps/mach/hurd/defs.c (init_stdio): Make stdin and stdout
  2193.     line buffered and stderr unbuffered.
  2194.  
  2195. Thu May 19 16:14:36 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2196.  
  2197.     * sysdeps/mach/hurd/getcwd.c: Remember to call io_stat on cwdir.
  2198.  
  2199.     * sysdeps/generic/configure.in: Use changequote around if expr
  2200.     to avoid [] elision.
  2201.  
  2202. Thu May 19 13:53:59 1994  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  2203.  
  2204.     * hurd/hurdsock.c (_hurd_socket_server): Return EPFNOSUPPORT
  2205.     rather than EPROTONOSUPPORT because it's the entire protocol
  2206.     family that isn't present, not just one protocol.
  2207.  
  2208.     * sysdeps/mach/hurd/__access.c (__access): Don't deallocate
  2209.     CRDIR or CWDIR; that's taken care of by the _hurd_port_get
  2210.     and _hurd_port_free system.
  2211.  
  2212. Thu May 19 04:14:57 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2213.  
  2214.     * sysdeps/posix/libc_fatal.c: Include <errno.h>.
  2215.  
  2216.     * sysdeps/unix/sysv/sysv4/__sigact.c: Include <stddef.h> for NULL.
  2217.  
  2218.     * sysdeps/mach/hurd/__access.c: Fix swapped poly and count args in
  2219.     __auth_makeauth call.
  2220.  
  2221.     * sysdeps/mach/hurd/ioctls.h (_IOC, _IOT): Rewritten using bitwise
  2222.     operations, so the result is always technically a constant (the
  2223.     old method of using a union constructor expression was not good
  2224.     enough for initializers).
  2225.  
  2226.     * hurd/hurdsock.c (_hurd_socket_server): If path_lookup returns
  2227.     ENOENT, we return EPROTONOSUPPORT.
  2228.  
  2229.     * hurd/Makefile (dtable): Add hurdioctl.
  2230.     * hurd/dtable.c (rectty_dtable, tiocsctty, tiocnotty): Functions moved:
  2231.     * hurd/hurdioctl.c: New file.
  2232.     (fioctl, fioclex): New functions.
  2233.     * sysdeps/mach/hurd/__ioctl.c (_hurd_ioctl_handler_lists): Don't
  2234.     define it, just declare it.
  2235.  
  2236.     * sysdeps/mach/hurd/getcwd.c: Use MACH_PORT_RIGHT_SEND, not
  2237.     MACH_PORT_TYPE_SEND, in mach_port_mod_refs call.
  2238.  
  2239.     * sysdeps/mach/hurd/__getpgrp.c: Don't lock _hurd_pid_lock.
  2240.  
  2241.     * sysdeps/unix/common/glue-ctype.c: Don't include <ctype.h>.
  2242.     Instead, add explicit extern declaration of TABLE in main.
  2243.  
  2244. Wed May 18 17:54:00 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2245.  
  2246.     * sysdeps/m68k/Makefile (asm-CPPFLAGS): Append $(m68k-syntax-flag).
  2247.  
  2248.     * Version 1.07.6.
  2249.  
  2250.     * sunrpc/Makefile (+gccwarn): Set to -w.
  2251.  
  2252.     * sysdeps/unix/Makefile (ifeq testing sys/param.h): Use patsubst
  2253.     instead of dir to remove directory name from .../sys/param.h but
  2254.     preserve "sys/".
  2255.  
  2256.     * inet/sys/bitypes.h: Replaced with just #include <sys/types.h>.
  2257.  
  2258.     * posix/sys/utsname.h (_UTSNAME_NODENAME_LENGTH): If undefined,
  2259.     define to _UTSNAME_LENGTH.
  2260.     (struct utsname): Use _UTSNAME_NODENAME_LENGTH for `nodename' member.
  2261.     * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h (_UTSNAME_NODENAME_LENGTH):
  2262.     Define it.
  2263.  
  2264.     * resource/sys/resource.h (enum __rlimit_resource): Removed.
  2265.     Just include <resourcebits.h> instead.
  2266.     * resource/Makefile (headers): Add resourcebits.h.
  2267.     * sysdeps/generic/resourcebits.h: New file.
  2268.     * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: New file.
  2269.  
  2270.     * stdio/test-popen.c (main): Use popen to read the file back, too.
  2271.  
  2272.     * sysdeps/unix/sysv/sysv4/i386/sysdep.h: New file.
  2273.  
  2274.     * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Fixed typo: movel->movl.
  2275.  
  2276. Tue May 17 12:46:31 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)
  2277.  
  2278.     * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
  2279.     __mach_task_self, __mach_host_self): New declarations of __ 
  2280.     versions of syscall traps.
  2281.     (swtch, __swtch, swtch_pri, __swtch_pri, thread_switch,
  2282.     __thread_switch, evc_wait, __evc_wait): New prototypes.
  2283.     * mach/Makefile (headers): Added mach/mach_traps.h so that the
  2284.     GNU version is installed instead of the Mach version.
  2285.     
  2286. Mon May 16 15:34:12 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2287.  
  2288.     * sysdeps/stub/sys/param.h: New file.
  2289.  
  2290.     * mach/lock-intern.h (__mutex_lock, __mutex_unlock): Real definitions.
  2291.     (__mutex_lock_solid, __mutex_unlock_solid, __mutex_init): Declare them.
  2292.     * mach/mutex-solid.c: New file.
  2293.     * mach/Makefile (lock): Add mutex-solid.
  2294.     (lock-headers): Remove mutex.h.
  2295.     * mach/mutex.h: File removed.
  2296.     * hurd/hurd/id.h: Include <cthreads.h> instead of <mutex.h>.
  2297.     * hurd/hurd/signal.h: Likewise.
  2298.     * hurd/hurdsig.c: Likewise.
  2299.     * hurd/hurdsock.c: Likewise.
  2300.     * hurd/dtable.c: Likewise.
  2301.     * hurd/__setauth.c: Likewise.
  2302.     * sysdeps/mach/hurd/Makefile (includes): Also append
  2303.     -I$(hurd-srcdir)/libthreads.
  2304.  
  2305.     * sysdeps/posix/system.c [WAITPID_CANNOT_BLOCK_SIGCHLD]: Don't
  2306.     block SIGCHLD.
  2307.     * sysdeps/unix/sysv/sco3.2.4/system.c
  2308.     (WAITPID_CANNOT_BLOCK_SIGCHLD): Define this macro.
  2309.  
  2310.     * sysdeps/posix/sigintr.c (siginterrupt) [! SA_RESTART]: Always
  2311.     fail with ENOSYS.
  2312.  
  2313.     * sysdeps/posix/__sigvec.c [! SA_ONSTACK]: Fail with ENOSYS if
  2314.     SV_ONSTACK is set in VEC->sv_flags.
  2315.     [SA_RESTART]: Protect SV_INTERRUPT check with this.
  2316.  
  2317.     * sysdeps/mach/sysdep.h (FATAL_PREPARE): New macro.
  2318.     * sysdeps/posix/libc_fatal.c: Include <sysdep.h>.
  2319.     [FATAL_PREPARE]: Invoke the macro.
  2320.     * assert/assert.c: Likewise.
  2321.  
  2322.     * sysdeps/generic/memmem.c: Start BEGIN at HAYSTACK, not partway
  2323.     into it.  Loop until BEGIN passes the location in HAYSTACK with
  2324.     NEEDLE_LEN bytes remaining to the end.
  2325.     Compare first byte manually before calling memcmp.
  2326.  
  2327.     * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Fix typo.
  2328.  
  2329.     * posix/sys/types.h [__USE_BSD] (int32_t, int16_t, int8_t,
  2330.     u_int32_t, u_int16_t, u_int8_t): New typedefs.
  2331.  
  2332.     * assert/assert.c (__assert_program_name): New variable.
  2333.     (__assert_fail): Print that in the msg too.
  2334.     [HAVE_GNU_LD] (set_progname): New function to set it up at startup.
  2335.  
  2336. Thu May 12 01:10:52 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2337.  
  2338.     * hurd/__setauth.c: Do critical section locking.
  2339.     * hurd/hurdexec.c: Likewise.
  2340.     * hurd/hurdauth.c (_S_del_auth): Likewise.
  2341.     * hurd/getuids.c: Likewise.
  2342.     * hurd/dtable.c: Likewise.
  2343.     * hurd/alloc-fd.c: Likewise.
  2344.     * hurd/hurd/port.h: Likewise.
  2345.     * hurd/hurd/fd.h: Likewise.
  2346.     * hurd/setuids.c: Likewise.
  2347.     * hurd/intern-fd.c: Likewise.
  2348.     * hurd/hurdsock.c (_hurd_socket_server): Likewise.
  2349.     * sysdeps/mach/hurd/setrlimit.c: Likewise.
  2350.     * sysdeps/mach/hurd/setgroups.c: Likewise.
  2351.     * sysdeps/mach/hurd/seteuid.c: Likewise.
  2352.     * sysdeps/mach/hurd/setegid.c: Likewise.
  2353.     * sysdeps/mach/hurd/getrlimit.c: Likewise.
  2354.     * sysdeps/mach/hurd/__setuid.c: Likewise.
  2355.     * sysdeps/mach/hurd/__setreuid.c: Likewise.
  2356.     * sysdeps/mach/hurd/__setregid.c: Likewise.
  2357.     * sysdeps/mach/hurd/__setitmr.c: Likewise.
  2358.     * sysdeps/mach/hurd/__setgid.c: Likewise.
  2359.     * sysdeps/mach/hurd/__select.c: Likewise.
  2360.     * sysdeps/mach/hurd/__sbrk.c: Likewise.
  2361.     * sysdeps/mach/hurd/__getuid.c: Likewise.
  2362.     * sysdeps/mach/hurd/__getpgrp.c: Likewise.
  2363.     * sysdeps/mach/hurd/__getitmr.c: Likewise.
  2364.     * sysdeps/mach/hurd/__getgrps.c: Likewise.
  2365.     * sysdeps/mach/hurd/__getgid.c: Likewise.
  2366.     * sysdeps/mach/hurd/__geteuid.c: Likewise.
  2367.     * sysdeps/mach/hurd/__getegid.c: Likewise.
  2368.     * sysdeps/mach/hurd/__getdtsz.c: Likewise.
  2369.     * sysdeps/mach/hurd/__fork.c: Likewise.
  2370.     * sysdeps/mach/hurd/__fcntl.c: Likewise.
  2371.     * sysdeps/mach/hurd/__dup2.c: Likewise.
  2372.     * sysdeps/mach/hurd/__close.c: Likewise.
  2373.     * sysdeps/mach/hurd/__brk.c: Likewise.
  2374.     * sysdeps/mach/hurd/__access.c: Likewise.
  2375.  
  2376.     * sysdeps/mach/hurd/reboot.c (reboot): Use the host priv port to
  2377.     prove authority.
  2378.  
  2379.     * sysdeps/mach/hurd/__readlink.c: Don't request O_READ access.
  2380.  
  2381.     * sysdeps/mach/hurd/__ioctl.c: Don't expect result data    unless
  2382.     return code is zero.  Translate MIG_BAD_ID or EOPNOTSUPP to ENOTTY.
  2383.  
  2384.     * mach/devstream.c (output): Use device_write instead of
  2385.     device_write_inband.
  2386.  
  2387. Wed May 11 18:49:31 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2388.  
  2389.     * hurd/hurdinit.c (_hurd_init): Finsih loop of _hurd_port_init on
  2390.     _hurd_ports elts before doing _hurd_proc_init or
  2391.     __task_set_special_port.
  2392.  
  2393.     * hurd/hurd/signal.h (struct hurd_sigstate): Add new
  2394.     `critical_section' member.  Remove #if 0'd out vfork crap.
  2395.     (_hurd_critical_section_lock, _hurd_critical_section_unlock): New
  2396.     functions. 
  2397.     (HURD_CRITICAL_BEGIN, HURD_CRITICAL_END): New macros.
  2398.  
  2399.     * io/Makefile (headers): Add poll.h and sys/poll.h.
  2400.     (routines): Add poll.
  2401.     * sysdeps/unix/bsd/sun/sunos4/poll.S: New file.
  2402.     * sysdeps/unix/sysv/poll.S: New file.
  2403.     * sysdeps/unix/bsd/poll.c: New file.
  2404.     * sysdeps/stub/poll.c: New file.
  2405.     * io/poll.h, io/sys/poll.h: New files.
  2406.  
  2407.     * misc/bsd-compat.c (setjmp): New function.
  2408.  
  2409.     * sysdeps/unix/Makefile (sysdep_headers): Remove sys/param.h.
  2410.     * misc/Makefile (headers): Add it here instead.
  2411.  
  2412.     * io/test-utime.c (main): New file.
  2413.     * io/Makefile (tests): New variable.
  2414.  
  2415. Wed May 11 13:44:33 1994  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  2416.  
  2417.     * hurd/hurd/threadvar.h (__hurd_errno_location): Remove 
  2418.     __volatile keyword.  `volatile int errno' is not the same
  2419.     as `int errno'; user programs often mention the latter.
  2420.     * errno.h: Remove __volatile keyword; same reason.
  2421.  
  2422. Tue May 10 17:21:41 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2423.  
  2424.     * time/zdump.c: New code from ADO.
  2425.  
  2426.     * time/difftime.c (difftime): Use hairy rounding algorithm from
  2427.     eggert@twinsun.com when sizeof (time_t) >= sizeof (double).
  2428.  
  2429.     * Makerules (native-CFLAGS): Remove -I$(sysincludedir).  RMS says
  2430.     people with bogons in /usr/local/include deserve to lose.
  2431.  
  2432.     * stdio/printf_fp.c (__printf_fp): If IS_NEG gets set, negate
  2433.     FPNUM before testing it for %g format choice.
  2434.  
  2435.     * sysdeps/unix/sysv/irix4/fcntlbits.h: New file.
  2436.     * sysdeps/unix/sysv/irix4/Dist: New file.
  2437.     * sysdeps/unix/sysv/irix4/readv.c: New file.
  2438.     * sysdeps/unix/sysv/irix4/writev.c: New file.
  2439.     * sysdeps/unix/sysv/irix4/__dup2.c: New file.
  2440.  
  2441.     * sunrpc/xdr_float.c (xdr_float): Change [mc68000 || sparc] to [! vax].
  2442.  
  2443.     * sysdeps/mips/setjmp.S: Remove spurious $.
  2444.  
  2445.     * sysdeps/generic/ftime.c: Include <errno.h>.
  2446.  
  2447.     * sysdeps/unix/mips/sysdep.S: Add .set noreorder.
  2448.  
  2449. Tue May 10 16:27:13 1994  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  2450.  
  2451.     * sysdeps/generic/termbits.h (NCCS): Doc fix.
  2452.  
  2453. Mon May  9 18:07:44 1994  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  2454.  
  2455.     * sysdeps/mach/hurd/uname.c (uname): System uname information
  2456.     has moved from init to proc.
  2457.  
  2458.     * sysdeps/mach/usleep.c (usleep): Return correct value.  Destroy
  2459.     RECV when we're done with it.
  2460.  
  2461. Thu May  5 17:03:56 1994  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  2462.  
  2463.     * sysdeps/mach/hurd/__lstat.c: Use O_NOLINK instead of O_NOTRANS.
  2464.  
  2465. Thu May  5 04:20:54 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2466.  
  2467.     * mach/spin-lock.h (spin_lock_init): Define.
  2468.  
  2469.     * sysdeps/mach/hurd/sigsuspend.c: New local variable NEWMASK, set
  2470.     it to *SET if SET is not null, before taking SS->lock; don't
  2471.     dereference SET while holding the lock.  Restore SS->blocked to
  2472.     OLDMASK before unlocking and returning.
  2473.  
  2474.     * hurd/hurdsig.c (hurdsig_fork_child): Return zero.
  2475.  
  2476.     * sysdeps/mach/hurd/__fork.c (_hurd_fork_parent_hook,
  2477.     _hurd_fork_prepare_hook)): Define variables (symbol sets).
  2478.     (__fork): Run _hurd_fork_prepare_hook and _hurd_fork_parent_hook.
  2479.  
  2480.     * sysdeps/mach/hurd/sigsuspend.c: Don't test SS->pending; instead
  2481.     wait until SS->suspended is cleared.
  2482.     * hurd/hurdsig.c (_hurd_internal_post_signal): Clear SS->suspended
  2483.     before signalling on SS->arrived.
  2484.  
  2485.     * mach/Makefile (headers): Added mach/default_pager_helper.defs.
  2486.  
  2487.     * sysdeps/sparc/Dist: Added alloca.S.
  2488.  
  2489. Wed May  4 14:02:29 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)
  2490.  
  2491.     * hurd/hurdexec.c (_hurd_exec): Unlock _hurd_dtable_lock when
  2492.     all through.
  2493.  
  2494.     * sysdeps/mach/hurd/__setitmr.c: Changed _hurd_itimer_lock
  2495.     to be a spin_lock; changed mutex_lock and mutex_unlock
  2496.     accordingly throughout.
  2497.     * sysdeps/mach/hurd/__getitmr.c: Corresponding changes from
  2498.     mutex calls to spin lock calls here too.
  2499.  
  2500.     * sysdeps/mach/hurd/__setitmr.c (setitimer_locked): Fixed syntax 
  2501.     of declaration of PREEMPT.
  2502.     (setitimer_locked): Declare variables ERR and ELAPSED.
  2503.     (setitimer_locked): Fix some references to REMAINING that 
  2504.     were using it as an itimerval instead of a timeval.
  2505.     (setitimer_locked): Deleted unused label STILLBORN.
  2506.  
  2507. Wed May  4 00:17:32 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2508.  
  2509.     * sysdeps/stub/__getitmr.c: Fix arg name __WHICH to WHICH.
  2510.  
  2511.     * sysdeps/unix/bsd/alarm.c: Round tv_usec with arithmetic rather
  2512.     than a test.
  2513.  
  2514.     * hurd/Makefile (user-interfaces): Add hurd/msg_request.
  2515.  
  2516.     * sysdeps/stub/__setitmr.c: Fix arg name __WHICH to WHICH.
  2517.  
  2518.     * Makeconfig (cross-compiling): Define if $(HOST_CC) and $(CC) differ.
  2519.     * time/Makefile (install-others): Omit defn ifdef cross-compiling.
  2520.  
  2521. Tue May  3 23:12:48 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2522.  
  2523.     * mach/Makefile (lock-headers): Add spin-lock.h.
  2524.  
  2525.     * misc/Makefile (routines): Add madvise.
  2526.  
  2527.     * malloc/Makefile (non-lib.a): Define.
  2528.     * misc/Makefile (non-lib.a): Define.
  2529.     * Makerules (install-lib.a): Filter out $(non-lib.a).
  2530.     (install-lib-non.a): Append $(non-lib.a).
  2531.  
  2532.     * mach/Makefile (mach-headers): Rename sys/version.h to mach/version.h.
  2533.  
  2534.     * hurd/Makefile (headers): Added hurd/threadvar.h.
  2535.  
  2536.     * Version 1.07.5.
  2537.  
  2538.     * hurd/port2fd.c (_hurd_port2fd): Use logic copied from
  2539.     _hurd_port_locked_set to install PORT in D->port, but leave it locked.
  2540.  
  2541.     * sunrpc/Makefile (generated): Don't add $(objpfx).
  2542.  
  2543.     * sysdeps/stub/machine-lock.h: New file.
  2544.     * sysdeps/stub/machine-sp.h: New file.
  2545.  
  2546. Tue May  3 22:31:15 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)
  2547.  
  2548.     * sysdeps/mach/usleep.c (usleep): Specify MACH_RCV_MSG so that
  2549.     mach_msg actually waits.
  2550.  
  2551. Tue May  3 19:24:48 1994  Karl Heuer  (kwzh@hal.gnu.ai.mit.edu)
  2552.  
  2553.     * malloc/malloc.h (enum mcheck_status): Delete trailing
  2554.     comma in enum list; some compilers don't like it.
  2555.  
  2556. Tue May  3 15:18:15 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)
  2557.  
  2558.     * sysdeps/mach/hurd/__symlink.c (__symlink): Pass port type arg to
  2559.     __file_set_translator.
  2560.  
  2561. Mon May  2 17:56:47 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2562.  
  2563.     * hurd/Makefile (generated): Add $(inlines) .c files.
  2564.  
  2565.     * sysdeps/mach/hurd/__mknod.c: Pass port type arg to
  2566.     __file_set_translator.
  2567.  
  2568. Sun May  1 16:03:13 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2569.  
  2570.     * mach/mig_syms.c: Add de-__ing aliases for mig_init,
  2571.     mig_get_reply_port, and mig_dealloc_reply_port.
  2572.  
  2573.     * sysdeps/mach/hurd/errnos.awk: Handle copying errors from
  2574.     mach/mig_errors.h and device/device_types.h.  Omit E*_SUCCESS.
  2575.     Omit MACH_MSG_MASK and other special bit macros.
  2576.  
  2577.     * sysdeps/mach/hurd/i386/sigcontext.h (struct sigcontext): Added
  2578.     sc_reply_port member.
  2579.     * hurd/hurdsig.c (fetch_reply_port): New function.
  2580.     (_hurd_internal_post_signal): When setting up to run handler, set
  2581.     SCP->sc_reply_port to the receiving thread's value for
  2582.     _HURD_THREADVAR_MIG_REPLY.
  2583.     * sysdeps/mach/hurd/i386/__sigret.c: Destroy the MiG reply port
  2584.     used by the signal handler, and restore from SCP->sc_reply_port.
  2585.     * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): New
  2586.     function; guts from __hurd_threadvar_location.
  2587.     (__hurd_threadvar_location): Call that.
  2588.  
  2589.     * hurd/hurdsig.c (check_pending): New function, broken out of:
  2590.     (_hurd_internal_post_signal): Call that for pending signal check.
  2591.     If SIGNO is zero, call check_pending on each thread's sigstate.
  2592.  
  2593.     * sysdeps/mach/hurd/start.c (start1): Use calloc to get
  2594.     zero-filled space for __hurd_threadvar_stack_offset when
  2595.     __hurd_threadvar_stack_mask is zero.
  2596.  
  2597. Thu Apr 28 21:29:47 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2598.  
  2599.     * Merged gmp-1.99.3+ mpn code from tege for printf_fp.
  2600.     * stdio/printf_fp.c: Include "longlong.h"; gmp-impl.h no longer does.
  2601.     
  2602.     * Makerules (+depfiles): Filter $(extra-objs) to get only .o files.
  2603.  
  2604. Wed Apr 27 00:20:41 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2605.  
  2606.     * Makerules (depend-$(subdir)): Put output in tmp file and use mv -f.
  2607.     Always use $(+depfiles), since sources is no longer exported.
  2608.  
  2609. Tue Apr 26 20:05:55 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2610.  
  2611.     * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Don't include <termios.h> to 
  2612.     avoid <sys/ioctl.h> conflicts.
  2613.     * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Undefine ECHO, MDMBUF,
  2614.     TOSTOP, FLUSHO, PENDIN, and NOFLSH after including <termios.h> and
  2615.     before including <sys/ioctl.h>.
  2616.     * sysdeps/unix/bsd/bsd4.4/__tcgetatr.c: Likewise.
  2617.  
  2618. Tue Apr 26 14:42:43 1994  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  2619.  
  2620.     * sysdeps/mach/sleep.c (sleep): Specify MACH_RCV_MSG or else
  2621.     mach_msg won't do anything but return immediately.
  2622.     (sleep): Compute return value correctly.
  2623.  
  2624. Tue Apr 26 04:49:56 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2625.  
  2626.     * sysdeps/i386/setjmp.c: Put global register decls first thing.
  2627.     * sysdeps/i386/__longjmp.c: Likewise.
  2628.  
  2629. Fri Apr 22 18:10:36 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2630.  
  2631.     * sysdeps/unix/sysv/irix4/__wait3.S: New file.
  2632.     * sysdeps/unix/sysv/irix4/time.S: New file.
  2633.     * sysdeps/unix/sysv/irix4/__waitpid.c: New file.
  2634.  
  2635. Thu Apr 21 16:54:11 1994  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2636.  
  2637.     * malloc/malloc.c (initialize, morecore): When allocating the
  2638.     _heapinfo block itself, account for it in the statistics.
  2639.  
  2640. Tue Apr 19 20:17:06 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2641.  
  2642.     * sysdeps/unix/sysv/sco3.2.4/pipestream.c: New file.
  2643.  
  2644.     * malloc/malloc.c (morecore): Only zero the new part of NEWINFO,
  2645.     not the part we will copy _heapinfo into.
  2646.  
  2647.     * sysdeps/unix/bsd/signum.h (SIGLOST): Define.
  2648.     (_NSIG): Increase to 33.
  2649.  
  2650. Mon Apr 18 16:56:11 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2651.  
  2652.     * configure.in (config.status): Use $configure_args instead of
  2653.     $ac_configure_args.
  2654.     (after AC_PREPARE): Call AC_LANG_C.
  2655.  
  2656.     * time/Makefile (routines): Add sys/timeb.h.
  2657.     (routines): Add ftime.
  2658.     * time/sys/timeb.h: New file.
  2659.     * sysdeps/unix/bsd/ftime.c: New file.
  2660.     * sysdeps/generic/ftime.c: New file.
  2661.  
  2662.     * sysdeps/posix/getenv.c (getenv): Return NULL if __environ is null.
  2663.  
  2664.     * malloc/malloc.h [_MALLOC_INTERNAL] [HAVE_UNISTD_H]: Include unistd.h.
  2665.  
  2666.     * malloc/Makefile (gmalloc-routines): Put valloc first.
  2667.  
  2668. Wed Apr 13 14:03:02 1994  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  2669.  
  2670.     * sysdeps/mach/hurd/__symlink.c (__symlink): Set the target of the
  2671.     link to FROM, not TO.
  2672.  
  2673.     * sysdeps/mach/hurd/__readlink.c (__readlink): Copy just the
  2674.     target into the user's buffer, not the entire translator spec.
  2675.  
  2676. Tue Apr 12 00:13:19 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)
  2677.  
  2678.     * hurd/fd-write.c (_hurd_fd_write): Set noctty for now rather
  2679.     than depending on what happens to be on the stack.
  2680.  
  2681.     * sysdeps/mach/hurd/readdir.c (readdir): Notice when hitting
  2682.     end-of-file and return NULL.
  2683.  
  2684. Mon Apr 11 17:36:59 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)
  2685.  
  2686.     * sysdeps/mach/hurd/start.c (start1): Bother to set __environ.
  2687.  
  2688.     * sysdeps/mach/hurd/__ioctl.c (__ioctl): Comment out use of 
  2689.     HURD_EINTR_RPC until signals work.
  2690.  
  2691. Mon Apr 11 14:16:40 1994  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  2692.  
  2693.     * sysdeps/mach/hurd/__ioctl.c (__ioctl): Call __mig_get_reply_port
  2694.     rather than __mig_reply_port (which doesn't exist).
  2695.  
  2696.     * sysdeps/mach/hurd/__mknod.c: Added temporary declarations
  2697.     of major and minor.
  2698.  
  2699.     * (This change occurred on April 4, 1994) mach/setup-thread.c
  2700.     (__mach_setup_thread): The March 31 change had an error; the stack
  2701.     needs to be allocated with ANYWHERE cleared.
  2702.  
  2703.     * (This change occurred on April 8, 1994) hurd/hurdexec.c
  2704.     (_hurd_exec): The arguments to exec_exec had the length and 
  2705.     type parameters transposed.  In addition, fetch the correct
  2706.     procserver port for the new task.
  2707.  
  2708.     * (This change occurred on April 8, 1994)
  2709.     sysdeps/mach/hurd/__wait.c (__wait4): Deal properly with a null
  2710.     USAGE argument.
  2711.  
  2712.     * (This change occurred on April 8, 1994)
  2713.     sysdeps/mach/hurd/_exit.c (_exit): Changed commented-out call to
  2714.     __proc_exit into a correct call to __proc_mark_exit.
  2715.  
  2716. Fri Apr  8 14:58:24 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)
  2717.  
  2718.     * string/strsignal.c (strsignal): Store of NUL into unknown_signal
  2719.     was off by one.
  2720.  
  2721. Tue Apr  5 21:26:25 1994  Brendan Kehoe  (brendan@zen.org)
  2722.  
  2723.     * sysdeps/unix/sysv/sysv4/__sigact.c (__sigaction): Declare member
  2724.     `oact' in lower case, to match its use in the rest of the function.
  2725.  
  2726. Tue Apr  5 03:07:04 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2727.  
  2728.     * Makerules (install-lib.a rule): Run ranlib on the target.
  2729.  
  2730.     * Makerules (library member rule): Tighten up pattern rule to
  2731.     match only libc.a, not other libraries.
  2732.  
  2733. Mon Apr  4 21:49:57 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2734.  
  2735.     * set-hooks.h: New file.
  2736.     * Makefile (distribute): Add it.
  2737.     * set-init.c: Include it and use its macro DEFINE_HOOK_RUNNER.
  2738.  
  2739.     * Makerules (sysd-Makefile): Put `sysd-Makefile-done=t' in output.
  2740.     (sysd-rules): Don't include it unless sysd-Makefile-done is defined.
  2741.  
  2742. Mon Apr  4 18:33:54 1994  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  2743.  
  2744.     * mach/setup-thread.c (__mach_setup_thread): Oops; the vm_allocate
  2745.     call should have ANYWHERE cleared so that the change of the 31st
  2746.     has any effect at all.
  2747.  
  2748. Thu Mar 31 13:46:13 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)
  2749.  
  2750.     * mach/setup-thread.c (__mach_setup_thread): Create a red zone
  2751.     beneath the stack; also, work around a bug in cthreads by
  2752.     forcing the stack into high memory.  FIXME--this routine
  2753.     depends on the direction of stack growth; that should be fixed.
  2754.  
  2755. Mon Mar 28 12:55:51 1994  Roland McGrath  (roland@mole.gnu.ai.mit.edu)
  2756.  
  2757.     * Rules (make-dummy-lib): Use `$(AR)' instead of literal `ar'.
  2758.  
  2759.     * configure.in (arg parsing): Don't take --os-release or --os-version.
  2760.     (switches): Variable removed; don't write it into config.status.
  2761.     (config.status): Write release and version values directly.
  2762.  
  2763.     * sysdeps/unix/common/configure.in: Use changequote around if expr
  2764.     to avoid [] elision.
  2765.  
  2766. Sat Mar 26 18:36:27 1994  Roland McGrath  (roland@mole.gnu.ai.mit.edu)
  2767.  
  2768.     * malloc/mcheck.c [! _MALLOC_INTERNAL]: #include <stdio.h>
  2769.  
  2770. Fri Mar 25 02:17:55 1994  Roland McGrath  (roland@mole.gnu.ai.mit.edu)
  2771.  
  2772.     * malloc/mcheck.c (mprobe): New function.
  2773.     (abortfunc): Take enum mcheck_status arg.
  2774.     (checkhdr): Return an enum mcheck_status, and pass it to abortfunc.
  2775.     (mabort): New function.
  2776.     (mcheck): Use mabort as default abortfunc.
  2777.     * malloc/malloc.h (enum mcheck_status): New type.
  2778.     (mprobe): Declare new function.
  2779.     (mcheck): ABORTFUNC takes an `enum mcheck_status' arg.
  2780.  
  2781.     * posix/unistd.h [__USE_GNU] (TEMP_FAILURE_RETRY): New macro.
  2782.  
  2783.     * stdio/stdio.h [__USE_GNU && !_LIBC] (cookie_io_functions_t):
  2784.     Define instead of __io_functions (and make that a typedef for
  2785.     this); omit __ from member names.
  2786.  
  2787. Thu Mar 24 14:59:23 1994  Roland McGrath  (roland@mole.gnu.ai.mit.edu)
  2788.  
  2789.     * sysdeps/unix/sysv/sco3.2.4/sigaction.h: New file.
  2790.  
  2791.     * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Put address of
  2792.     __sigreturn in %ecx before doing syscall trap.
  2793.  
  2794.     * sysdeps/stub/setegid.c: Fix arg type to __gid_t (was int).
  2795.  
  2796. Wed Mar 23 17:33:09 1994  Roland McGrath  (roland@mole.gnu.ai.mit.edu)
  2797.  
  2798.     * Makefile (headers): Remove $(stdarg.h).
  2799.     * Makeconfig (stdarg.h): Variable removed.
  2800.     * configure.in: Remove check for __gnuc_va_list in stdarg.h.
  2801.     It is not safe to replace the compiler's stdarg.h with our own.
  2802.  
  2803. Tue Mar 22 12:46:08 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2804.  
  2805.     * Rules (dist): Rule removed.
  2806.     * Makefile (dist): Likewise.
  2807.     * Makerules (dist, distinfo): New rules.
  2808.     (TAGS): Depend on distfile, pass -f distfile to submake.
  2809.  
  2810.     * math/Makefile: Remove if-ed out old bsdmath copying rules.
  2811.  
  2812.     * Makerules (sources, headers, sysdep_routines): Don't export these.
  2813.     * Rules (others, tests): Likewise.
  2814.  
  2815.     * io/lockf.c: Include fcntl.h and errno.h.
  2816.  
  2817. Mon Mar 21 20:27:32 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2818.  
  2819.     * sysdeps/unix/bsd/sony/newsos4/fchdir.S: New file.
  2820.     * sysdeps/unix/bsd/sony/newsos4/{__wait4.c,__wait3.c,__wait.c,
  2821.     sys_wait4.S,Makefile,Dist}: New files.
  2822.  
  2823.     * sysdeps/unix/Makefile (syscall.h): De-SYS_ify `kerncall_basenum'.
  2824.  
  2825.     * sysdeps/unix/bsd/m68k/sysdep.S [! __motorola__]: Rename label 0
  2826.     to `store'; a user reports gas 1.38 bombs on numbered labels.
  2827.  
  2828.     * sysdeps/posix/Makefile (mk-stdiolim): Use $(HOST_CC).
  2829.  
  2830.     * Rules (distribute, dont_distribute, generated): Don't export them.
  2831.     (dist): Pass those vars down to sub-make on cmd line.
  2832.     * Makefile (distribute, generated): Don't export them.
  2833.     (dist): Pass distribute and generated values to sub-make on cmd line.
  2834.  
  2835.     * Makerules (install-lib-nosubdir): Insert $(libprefix) appropriately.
  2836.  
  2837. Fri Mar 18 01:02:52 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2838.  
  2839.     * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h (DO_CALL): Use a6 in
  2840.     place of fp.  A user reports gas 1.38 doesn't grok fp.
  2841.  
  2842. Tue Mar  8 18:35:02 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2843.  
  2844.     * Makerules (common-clean): Prepend $(objpfx) to $(generated).
  2845.     * Makefile (parent-clean): Prepend $(common-objpfx) to
  2846.     $(common-generated).
  2847.     * Makefile (generated): Don't prepend $(objpfx).
  2848.     * Rules (generated): Likewise.
  2849.     * sysdeps/unix/common/Makefile (generated): Likewise.
  2850.     * sysdeps/unix/sysv/Makefile (generated): Likewise.
  2851.     * sysdeps/unix/Makefile (common-generated): Don't prepend
  2852.     $(common-objpfx).
  2853.     * sysdeps/posix/Makefile (common-generated): Likewise.
  2854.     * sysdeps/generic/Makefile (common-generated): Likewise.
  2855.     (generated): Don't prepend $(objpfx).
  2856.  
  2857.     * sysdeps/generic/Makefile (common-generated): Set this instead of
  2858.     generated for bytesex.h and det_endian.
  2859.  
  2860.     * sysdeps/stub/fexecve.c: New file.
  2861.     * posix/Makefile (routines): Add fexecve.
  2862.     * posix/unistd.h [__USE_GNU]: Declare fexecve.
  2863.  
  2864.     * sysdeps/unix/common/configure.in: Protect siglist and ctype
  2865.     checks with if [ ! "$inhibit_glue" ].
  2866.     * sysdeps/generic/configure.in: Likewise for psignal check.
  2867.     * sysdeps/unix/common/Makefile: Protect body with ifndef inhibit-glue.
  2868.  
  2869. Mon Mar  7 17:46:46 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2870.  
  2871.     * sysdeps/unix/bsd/osf1/alpha/__sigblock.S: New file from brendan.
  2872.  
  2873. Fri Mar  4 01:56:26 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2874.  
  2875.     * Makerules (native-compile, common-objdir-compile): Use
  2876.     $(HOST_CC) in place of $(CC).
  2877.  
  2878.     * malloc/cfree.c: Move #undef cfree inside #ifdef _LIBC.
  2879.  
  2880.     * misc/sys/ioctl.h (struct ttysize): If TIOCGSIZE != TIOCGWINSZ,
  2881.     use two int elts instead of four shorts.
  2882.  
  2883. Thu Mar  3 17:35:54 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2884.  
  2885.     * malloc/realloc.c (realloc): When shrinking a block by splitting
  2886.     and then freeing one, bump the _chunks_used counter.
  2887.  
  2888.     * sysdeps/unix/sysv/sysv4/i386/__mknod.S: New file.
  2889.  
  2890. Tue Mar  1 11:42:41 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2891.  
  2892.     * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Get first argument from
  2893.     stack at 8(%esp), not 4(%esp).
  2894.  
  2895.     * sysdeps/unix/sysv/isc2.2/rename.S: Get unix/common, not unix/bsd.
  2896.  
  2897. Thu Feb 24 14:40:43 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2898.  
  2899.     * io/lockf.c: New file.
  2900.     * io/Makefile (routines): Add lockf.
  2901.     * io/fcntl.h [__USE_MISC] (F_ULOCK, F_LOCK, F_TLOCK, F_TEST): New
  2902.     macros.
  2903.     [__USE_MISC] (lockf): Declare it.
  2904.     * posix/unistd.h: Copy those new macros and declaration.
  2905.  
  2906.     * time/backward, time/etcetera, time/zic.c: New code and data from ADO.
  2907.     * Makeconfig (posixrules): Default to America/New_York.
  2908.  
  2909.     * sysdeps/unix/mips/sysdep.S: Store -1 in v0 in the delay slot after
  2910.     the return, rather than before (leaving the delay slot unfilled and
  2911.     without a nop!).
  2912.  
  2913.     * sysdeps/unix/sysv/irix4: New directory; mips-sgi-irix4 port
  2914.     courtesy Tom Quinn.
  2915.  
  2916.     * sysdeps/unix/sysv/sysv4/direct.h: Moved to unix/common; it is right
  2917.     for irix4 as well as sysv4.
  2918.     * sysdeps/unix/bsd/ultrix4/__wait.S: Moved to unix/mips.
  2919.     (noerror): Store register v1 in location pointed to by first arg (if
  2920.     not NULL).
  2921.     * sysdeps/unix/bsd/ultrix4/__sigret.S: Moved to unix/mips.
  2922.  
  2923.     * sysdeps/unix/bsd/bsd4.4/{mmap,munmap,mprotect,msync,madvise}.S:
  2924.     Moved to sysdeps/unix/mman (new directory).
  2925.     * sysdeps/unix/bsd/bsd4.4/Implies: New file; imply unix/mman.
  2926.     * sysdeps/unix/bsd/sunos4/Implies: Likewise.
  2927.     * sysdeps/unix/bsd/ultrix4/Implies: Likewise.
  2928.     * sysdeps/unix/bsd/osf1/Implies: Likewise.
  2929.     * sysdeps/unix/bsd/sun/sunos4/munmap.S,
  2930.     sysdeps/unix/bsd/sun/sunos4/mprotect.S,
  2931.     sysdeps/unix/bsd/sun/sunos4/madvise.S,
  2932.     sysdeps/unix/bsd/ultrix4/mmap.S,
  2933.     sysdeps/unix/bsd/ultrix4/munmap.S,
  2934.     sysdeps/unix/bsd/ultrix4/mprotect.S,
  2935.     sysdeps/unix/bsd/osf1/mmap.S,
  2936.     sysdeps/unix/bsd/osf1/munmap.S,
  2937.     sysdeps/unix/bsd/osf1/mprotect.S: Files removed.
  2938.  
  2939.     * sysdeps/unix/sysv/sysv4/fcntlbits.h: Moved to sysdeps/unix/common.
  2940.  
  2941.     * stdio/printf_fp.c: Add many assertions to make sure no mpn size
  2942.     variable is ever zero.
  2943.  
  2944.     * Makerules (native-CFLAGS): Add -I$(sysincludedir).
  2945.  
  2946.     * Makerules (depend-$(subdir)) [omit-deps]: Use $(+depfiles) value
  2947.     instead of shell hackery.
  2948.  
  2949. Wed Feb 23 00:09:08 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2950.  
  2951.     * sysdeps/sparc/alloca.S [! NO_UNDERSCORES]: Call it ___builtin_alloca.
  2952.  
  2953. Tue Feb 22 18:47:10 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2954.  
  2955.     * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Use __off_t in mmap
  2956.     prototype.
  2957.  
  2958.     * time/setitmr.c: Swap args OLD and NEW.
  2959.     * time/sys/time.h (setitimer): Likewise.
  2960.     * sysdeps/stub/__setitmr.c: Likewise.
  2961.  
  2962. Mon Feb 21 20:47:55 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2963.  
  2964.     * sysdeps/sparc/Makefile [gnulib] (routines): Add alloca.
  2965.     * sysdeps/sparc/alloca.S: New file; support for SunOS libc's
  2966.     `__builtin_alloca' function (never needed with GCC).
  2967.  
  2968.     * sysdeps/unix/sysv/sysv4/__sigact.c (trampoline): Cast handler to
  2969.     three-arg type.
  2970.  
  2971. Sun Feb 20 00:46:15 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2972.  
  2973.     * sysdeps/unix/bsd/sun/sunos4/mmap.c: Add missing semicolon.
  2974.  
  2975.     * sysdeps/unix/sparc/start.c [! NO_SHLIB]: Include <sys/types.h>
  2976.     before <sys/mman.h>.
  2977.  
  2978.     * sysdeps/unix/bsd/ultrix4/mips/{sysdep.h,sysdep.S,__pipe.S,
  2979.     __fork.S,__brk.S}: Moved to sysdeps/unix/mips (new directory).
  2980.  
  2981.     * sysdeps/unix/bsd/ultrix4/mips/__sigret.S: Use SYS_sigreturn
  2982.     instead of literal 103; #define to 103 if not already defined.
  2983.  
  2984. Sat Feb 19 17:39:13 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2985.  
  2986.     * sysdeps/unix/sysv/sysv4/i386/Dist: New file; list sys-sig.S.
  2987.  
  2988. Fri Feb 18 18:07:34 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  2989.  
  2990.     * sysdeps/generic/configure.in: New file; check for psignal.
  2991.  
  2992.     * sysdeps/unix/common/glue-ctype.c: Check for table named _ctype,
  2993.     before checking for _ctype_.
  2994.     * sysdeps/unix/common/configure.in: Check for _ctype.
  2995.  
  2996.     * sysdeps/unix/Makefile (syscall.h): Look for sys.s before syscall.h.
  2997.     * sysdeps/unix/configure (unix_syscall_h): Likewise.
  2998.  
  2999.     * configure.in (os = irix4*): Set base_os=unix/sysv.
  3000.  
  3001.     * sunrpc/rpc/auth.h (u_int32): Always define, no #ifdefs.
  3002.     * sunrpc/xdr_float.c: Change [mc68000 || sparc] to [! vax].
  3003.  
  3004. Thu Feb 17 18:42:29 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3005.  
  3006.     * Version 1.07.4.
  3007.  
  3008.     * sysdeps/unix/bsd/sun/sunos4/Dist: Add sys_mmap.S.
  3009.  
  3010.     * Makerules (sysdep_dir): Remove defn.
  3011.     * Makeconfig (sysdep_dir): Define it here instead.
  3012.  
  3013. Wed Feb 16 16:54:00 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3014.  
  3015.     * sysdeps/unix/sysv/sysv4/__sigact.c: New file.
  3016.     * sysdeps/unix/sysv/sysv4/i386/Makefile: New file.
  3017.     * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: New file.
  3018.  
  3019.     * time/sys/time.h (timerisset, timercmp, timerclear): New macros.
  3020.  
  3021.     * misc/Makefile (headers): Add sys/mman.h.
  3022.     (routines): Add mmap, munmap, mprotect, msync.
  3023.     * sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: New file.
  3024.     * sysdeps/unix/bsd/sun/sunos4/mmap.c: New file.
  3025.     * sysdeps/unix/bsd/sun/sunos4/Makefile [$(subdir) == misc]
  3026.     (sysdep_routines): Add sys_mmap.
  3027.     * sysdeps/unix/bsd/bsd4.4/mprotect.S: New file.
  3028.     * sysdeps/unix/bsd/bsd4.4/munmap.S: New file.
  3029.     * sysdeps/unix/bsd/bsd4.4/msync.S: New file.
  3030.     * sysdeps/unix/bsd/bsd4.4/mmap.S: New file.
  3031.     * sysdeps/unix/bsd/bsd4.4/madvise.S: New file.
  3032.     * sysdeps/unix/bsd/sun/sunos4/mprotect.S: New file.
  3033.     * sysdeps/unix/bsd/sun/sunos4/munmap.S: New file.
  3034.     * sysdeps/unix/bsd/sun/sunos4/msync.S: New file.
  3035.     * sysdeps/unix/bsd/sun/sunos4/madvise.S: New file.
  3036.     * sysdeps/unix/bsd/ultrix4/sys/mman.h: New file.
  3037.     * sysdeps/unix/bsd/ultrix4/mmap.S: New file.
  3038.     * sysdeps/unix/bsd/ultrix4/munmap.S: New file.
  3039.     * sysdeps/unix/bsd/ultrix4/mprotect.S: New file.
  3040.     * sysdeps/stub/mprotect.c: New file.
  3041.     * sysdeps/stub/munmap.c: New file.
  3042.     * sysdeps/stub/msync.c: New file.
  3043.     * sysdeps/stub/mmap.c: New file.
  3044.     * sysdeps/stub/madvise.c: New file.
  3045.     * sysdeps/generic/sys/mman.h: New file.
  3046.     * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: New file.
  3047.     * sysdeps/unix/bsd/osf1/msync.S: New file.
  3048.     * sysdeps/unix/bsd/osf1/mmap.S: New file.
  3049.     * sysdeps/unix/bsd/osf1/munmap.S: New file.
  3050.     * sysdeps/unix/bsd/osf1/mprotect.S: New file.
  3051.     * sysdeps/unix/bsd/osf1/sys/mman.h: New file.
  3052.  
  3053. Tue Feb 15 16:47:45 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3054.  
  3055.     * posix/unistd.h: Declare truncate, ftruncate.
  3056.  
  3057.     * misc/Makefile (headers): Add syslog.h.
  3058.     * misc/syslog.h: New file; just includes <sys/syslog.h>.
  3059.  
  3060.     * posix/unistd.h: Change duplicate seteuid decl to setegid.
  3061.  
  3062.     * io/Makefile (headers): Add sys/fcntl.h.
  3063.     * io/sys/fcntl.h: New file; just includes <fcntl.h>.
  3064.  
  3065. Mon Feb 14 10:36:57 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3066.  
  3067.     * Makerules (library pattern rule): Depend on
  3068.     $(objpfx)stamp-$(subdir) and have empty commands.
  3069.     ($(objpfx)stamp-$(subdir)): Move dep on $(objects) and ar cmds here.
  3070.     (common-mostlyclean): Remove $(objpfx)stamp-$(subdir).
  3071.  
  3072.     * Makerules (+depfiles): Filter out deps for modules in $(omit-deps).
  3073.  
  3074.     * sunrpc/Makefile (omit-deps): Define new variable.
  3075.  
  3076.     * Makerules ($(libc.a)(__.SYMDEF)): Depend on $(+libobjs), not
  3077.     lib-noranlib.
  3078.     * Makefile ($(libc.a)(__.SYMDEF)): Depend on subdir_lib.
  3079.  
  3080.     * Makerules (+depfiles): Include deps for $(extra-objs).
  3081.  
  3082.     * sunrpc/rpcsvc/klm_prot.x: Move program definition to end.
  3083.  
  3084.     * sunrpc/Makefile (lib): Depend on $(objpfx)librpcsvc.a.
  3085.  
  3086.     * time/zic.c: Set CP to NAME before dereferencing.
  3087.  
  3088.     * sunrpc/Makefile ($(objpfx)x%.c): Target fixed from $(objpfx)x%.c.
  3089.     ($(objpfx)rpcsvc/%.h): Target renamed from $(includedir)rpcsvc/%.h.
  3090.     Make each x%.o file depend on the corresponding rpcsvc/%.h file.
  3091.     (headers): Add rpcsvc/%.h.
  3092.     (install-others): Remove generated rpcsvc headers.
  3093.     (generated): Define to include generated rpcsvc headers and sources.
  3094.  
  3095.     * sysdeps/m68k/fpu/acos.c: Add __CONSTVALUE to defn.
  3096.     * sysdeps/m68k/fpu/ldexp.c: Likewise.
  3097.     * sysdeps/m68k/fpu/pow.c: Likewise.
  3098.     * sysdeps/m68k/fpu/fmod.c: Likewise.
  3099.     * sysdeps/m68k/fpu/atan2.c: Likewise.
  3100.     * sysdeps/m68k/fpu/__drem.c: Likewise.
  3101.     * sysdeps/m68k/fpu/__isinf.c: Likewise.
  3102.     * sysdeps/generic/hypot.c: Likewise.
  3103.     * sysdeps/m68k/fpu/__logb.c: Likewise.
  3104.  
  3105.     * sysdeps/unix/bsd/m68k/sysdep.S: Swap operands in cmpl.
  3106.  
  3107. Sun Feb 13 19:49:24 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3108.  
  3109.     * sysdeps/m68k/Makefile (compile-command.S): Remove definition
  3110.     that did kludgey # hackery.
  3111.     * sysdeps/unix/bsd/hp/m68k/sysdep.h (PSEUDO): Add missing close paren.
  3112.     (POUND): Define (no arg) to just `#' (a single pound sign).
  3113.     (PSEUDO, DO_CALL): Use `POUND foo' in place of `POUND(foo)'.
  3114.     * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
  3115.     * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
  3116.     * sysdeps/unix/bsd/sun/m68k/__brk.S: Use #0, not POUND(0).
  3117.     * sysdeps/unix/bsd/hp/m68k/__brk.S: Use #__end instead of POUND(__end).
  3118.  
  3119. Fri Feb 11 00:29:45 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3120.  
  3121.     * configure.in (Makefile): Set objdir instead of ARCH in submake cmd.
  3122.  
  3123.     * time/mktime.c: Define __P if undefined.
  3124.  
  3125.     * assert/assert.h (__ASSERT_FUNCTION): Check __GNUC_MINOR__<6 if
  3126.     defined(__cplusplus).
  3127.  
  3128. Thu Feb 10 00:52:31 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3129.  
  3130.     * sysdeps/unix/sysv/__sigact.c: Use __sigismember and
  3131.     __sigemptyset on sa_mask instead of assuming it's an int.
  3132.  
  3133.     * sysdeps/unix/sysv/sysv4/sigset.h (__sigismember): Declare arg
  3134.     SET to be a pointer to const.
  3135.  
  3136.     * sysdeps/posix/__sigpause.c: Convert MASK to a sigset_t with a loop.
  3137.  
  3138.     * sysdeps/posix/__sigblock.c: When sigset_t==mask, take address of
  3139.     SET or OSET, cast to int *, and dereference.
  3140.     * sysdeps/posix/__sigstmsk.c: Likewise.
  3141.     * sysdeps/posix/__sigvec.c: Likewise.
  3142.  
  3143.     Add the -lrpcsvc library of XDR routines for standard SunRPC protocols.
  3144.     * sunrpc/Makefile (install-lib): Define to include librpcsvc.a.
  3145.     (rpcsvc-objs): New variable.
  3146.     (extra-objs): Add $(rpcsvc-objs).
  3147.     ($(objpfxlibrpcsvc.a): New target.
  3148.     ($(objpfx)x%.o): New rule to rpcgen XDR routines.
  3149.  
  3150. Wed Feb  9 11:59:33 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3151.  
  3152.     * time/zic.c (mkdirs): Reapply fix to avoid writing into passed ptr.
  3153.  
  3154.     * sunrpc/Makefile (distribute): Add etc.rpc.
  3155.     ($(includedir)/bootparam_prot.h): Change target to
  3156.     $(includedir)/rpcsvc/bootparam_prot.h and dep to
  3157.     $(includedir)/rpcsvc/bootparam.h.
  3158.     (install-others): Change reference.
  3159.  
  3160.     * sunrpc/rpc_util.h: Comment out bogus decl of sprintf.
  3161.  
  3162.     * Makerules ($(libc.a)(__.SYMDEF)): Depend on lib-noranlib instead
  3163.     of $(+libobjs); this way makes the parent do subdir_lib.
  3164.  
  3165.     * sysdeps/unix/sysv/sysv4/sigset.h: Protect types with #ifndef
  3166.     _SIGSET_H_types.  Protect rest with #if !defined (_SIGSET_H_fns)
  3167.     && defined (_SIGNAL_H).
  3168.  
  3169. Tue Feb  8 19:00:42 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3170.  
  3171.     * Version 1.07.3.
  3172.  
  3173.     * sysdeps/unix/sysv/sysv4/sigset.h: Fix typos (omitted __s).
  3174.  
  3175. Mon Feb  7 14:31:00 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3176.  
  3177.     * Makerules ($(libc.a)): Depend on $(libc.a)(__.SYMDEF); no commands.
  3178.     ($(+libobjs)): Remove static pattern rule.
  3179.     (ar-it): Target removed.
  3180.     Replace with pattern rule to catch %(*.o) for all $(objects).
  3181.     ($(libc.a)(__.SYMDEF)): New target.
  3182.     (lib-noranlib, $(libdir)/lib$(libprefix)c.a): Don't depend on ar-it.
  3183.  
  3184.     * sysdeps/unix/sparc/sysdep.h (PSEUDO): Add nop after jmp; the
  3185.     next insn is most likely a retl, which causes interesting behavior.
  3186.  
  3187.     * stdio/vfprintf.c: Pass WORKEND+1 to _itoa, not WORKEND.
  3188.     Subtract one from result of _itoa when setting W.
  3189.  
  3190.     * time/{africa,asia,australasia,backward,europe,leapseconds,
  3191.     northamerica,southamerica,zic.c}: New code and data from ADO.
  3192.  
  3193. Sun Feb  6 13:55:27 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3194.  
  3195.     * sunrpc: New directory; code from Sun's RPCSRC-4.0.
  3196.     * sysdeps/unix/inet/Subdirs: Add sunrpc.
  3197.     * inet/netdb.h: #include <rpc/netdb.h> at end.
  3198.  
  3199.     * Make-dist ($(tardir).tar): Use -v when extracting from dist.tar
  3200.     and pipe output to doschk.
  3201.  
  3202.     * Makeconfig (etcdir): New variable.
  3203.     (localtime-file): Use that in default value.
  3204.  
  3205.     * Makerules (depend-$(subdir)): Include dep files for all .o files
  3206.     listed in $(extra-objs).
  3207.  
  3208.     * posix/sys/types.h (NFDBITS): #define to __NFDBITS.
  3209.  
  3210.     * inet/netinet/in.h (INADDR_LOOPBACK): Don't define if already
  3211.     defined; avoids changing source which defines it before including this.
  3212.     (struct sockaddr_in): Rename `__pad' member to `sin_zero'; some
  3213.     code wants to bzero the area just for paranoia.
  3214.  
  3215.     Make cleaning targets only remove common (not specific to one
  3216.     subdir) generated files if run from the parent directory.
  3217.     * Makefile (parent-clean): Remove $(common-generated) also.
  3218.     * sysdeps/unix/Makefile (local_lim.h, sys/param.h, errnos.h,
  3219.     ioctls.h, syscall.h): Append to $(common-generated), not $(generated).
  3220.     * sysdeps/posix/Makefile (stdio_lim.h): Likewise.
  3221.  
  3222.     * signal/signal.h: Declare psignal here.
  3223.     * stdio/stdio.h: Not here.
  3224.  
  3225.     * stdio/stdio.h [__OPTIMIZE__] (vprintf, vfscanf, vscanf,
  3226.     vsscanf): Define as extern inline functions instead of macros.
  3227.  
  3228.     * configure.in (names): Check existence of implied dirs and warn
  3229.     for absentees.
  3230.  
  3231. Sat Feb  5 13:38:26 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3232.  
  3233.     * Version 1.07.2.
  3234.  
  3235.     * resource/sys/resource.h (RUSAGE_SELF, RUSAGE_CHILDREN): #define
  3236.     to self for things that test #ifdef.
  3237.  
  3238.     * sysdeps/unix/common/Dist: Remove bsd_getgrp.S.
  3239.  
  3240.     * sysdeps/unix/Makefile: Don't include param.h.dep ifdef no_deps.
  3241.  
  3242.     * Makerules (vpath %.h): Use $(common-objpfx) in place of $(objpfx).
  3243.  
  3244.     * sysdeps/unix/bsd/i386/__vfork.S: Decrement R1 and AND it with R0
  3245.     to avoid the test and branch.
  3246.  
  3247.     * sysdeps/unix/bsd/getprio.S, sysdeps/unix/bsd/setprio.S,
  3248.     sysdeps/unix/bsd/__setreuid.S, sysdeps/unix/bsd/__setregid.S: Moved to
  3249.     sysdeps/unix/common.
  3250.  
  3251.     * sysdeps/unix/reboot.S: New file.
  3252.  
  3253.     * sysdeps/unix/sysv/sysv4/solaris2/signum.h: New file.
  3254.     * sysdeps/unix/sysv/sysv4/signum.h: New file.
  3255.     * sysdeps/unix/sysv/sysv4/sigset.h: New file.
  3256.     * sysdeps/unix/sysv/sysv4/sigaction.h (struct sigaction): Swap
  3257.     positions of sa_flags and sa_mask members (sa_flags is first now).
  3258.     (SA_NOCLDWAIT): Renamed from SA_NOSCLDWAIT.
  3259.  
  3260.     * sysdeps/unix/bsd/init-posix.c (_posix_start_time): Initialize it.
  3261.  
  3262.     * Makerules (open-check-inhibit-asm): Use : for empty commands in case.
  3263.  
  3264.     * time/leapseconds: New version from ADO, adds 1994 leap second.
  3265.  
  3266. Thu Feb  3 02:15:30 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3267.  
  3268.     * sysdeps/unix/bsd/ulimit.c: Define ulimit instead of __ulimit.
  3269.  
  3270. Wed Feb  2 16:56:29 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3271.  
  3272.     * sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: Moved to unix/sysv/sysv4.
  3273.     Replaced with #include of that file.
  3274.  
  3275.     * sysdeps/unix/sysv/sysv4/solaris2/sigaltstack.S: Moved to 
  3276.     sysdeps/unix/sysv/sysv4/sigaltstk.S.
  3277.  
  3278.     * sysdeps/unix/sysv/sysv4/i386/__lstat.S: Syscall lxstat, not xlstat.
  3279.     * sysdeps/unix/sysv/sysv4/i386/__fstat.S: Syscall fxstat, not xfstat.
  3280.  
  3281. Tue Feb  1 18:22:21 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3282.  
  3283.     * stdio/_itoa.c, stdio/_itoa.h: New files.
  3284.     * stdio/Makefile (routines): Add _itoa.
  3285.     (distribute): Add _itoa.h.
  3286.     * stdio/vfprintf.c: Use _itoa instead of doing it by hand.
  3287.  
  3288.     * sysdeps/unix/sparc/vfork.S: Add nop after jmp.  Bad delay slot,
  3289.     no pipeline.
  3290.     * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise.
  3291.  
  3292. Mon Jan 31 19:33:04 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3293.  
  3294.     * assert/assert.c (__assert_fail): Take 4th arg FUNCTION; if it is
  3295.     not null, print it in the message.  Also declare __NORETURN.
  3296.     * assert/assert.h (__assert_fail): Update decl; also add __NORETURN.
  3297.     (__ASSERT_FUNCTION): #define to be __PRETTY_FUNCTION__ for GCC>=2.4.
  3298.     (assert): Pass __ASSERT_FUNCTION to __assert_fail.
  3299.  
  3300.     * sysdeps/unix/bsd/sun/sparc/vfork.S: Moved to sysdeps/unix/sparc.
  3301.     Use C_SYMBOL_NAME on __vfork instead of prepending an underscore.
  3302.  
  3303.     * sysdeps/unix/sysv/sysv4/solaris2/{start.c,sysdep.S,sysdep.h}: Moved
  3304.     to sysdeps/unix/sysv/sysv4/solaris2/sparc.
  3305.  
  3306.     * sysdeps/unix/{i386,sysv/sysv4/solaris2,sysv/i386/linux,bsd/m68k,
  3307.     bsd/ultrix4/mips,bsd/vax}/sysdep.S: Don't do EWOULDBLOCK_sys->EAGAIN
  3308.     mapping #if EWOULDBLOCK_sys == EAGAIN.
  3309.  
  3310.     * sysdeps/unix/sparc/sysdep.h [NO_UNDERSCORES]: #define syscall_error
  3311.     to C_SYMBOL_NAME(__syscall_error).
  3312.     (PSEUDO): On error, jump to syscall_error instead of setting errno.
  3313.     * sysdeps/unix/sparc/sysdep.S: New file.
  3314.  
  3315.     * sysdeps/unix/sysv/sysv4/i386/__vfork.S: New file, just #include
  3316.     unix/bsd/i386 version. 
  3317.  
  3318.     * sysdeps/unix/bsd/i386/__vfork.S: Use `scratch' in place of %edx.
  3319.  
  3320. Thu Jan 27 16:46:03 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3321.  
  3322.     * configure.in (asm-CPPFLAGS): Add new check to see if assembling
  3323.     a .S file loses without -P.  If so, set asm-CPPFLAGS=-P in config.make.
  3324.  
  3325.     * configure.in (stddef.h): Print msg under --verbose.
  3326.  
  3327.     * manual/Makefile (subdir): Define outside of `export' directive,
  3328.     for old make.
  3329.  
  3330.     * time/mktime.c (search): Take new arg PRODUCER, fn to call
  3331.     instead of `localtime'.
  3332.     (_mktime_internal): New function; all code from old `mktime', but
  3333.     take 2nd arg PRODUCER and pass along to `search'.
  3334.     (mktime): Rewrite to call _mktime_internal with localtime.
  3335.     * time/Makefile (routines): Add dysize, timegm, timelocal.
  3336.     * time/time.h (_mktime_internal): Declare it.
  3337.     [__USE_MISC]: Declare timegm, timelocal, dysize.
  3338.     * time/dysize.c: New file.
  3339.     * time/timegm.c: New file.
  3340.     * time/timelocal.c: New file.
  3341.  
  3342. Wed Jan 26 20:06:23 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3343.  
  3344.     Remove the hackery on getgroups for most systems.  It is no longer
  3345.     necessary because gid_t is now the same size as int.
  3346.     * sysdeps/unix/common/Makefile (sysdep_routines): Don't add bsd_getgrp.
  3347.     * sysdeps/unix/common/bsd_getgrp.S: File removed.
  3348.     * sysdeps/unix/common/__getgrps.S: New file.
  3349.     * sysdeps/unix/bsd/sequent/i386/__getgrps.S: New file.
  3350.  
  3351.     Clean up the rules for cleaning up.
  3352.     * Makerules (common-mostlyclean): New target; remove object files.
  3353.     (common-clean): New target; depend on common-mostlyclean, and
  3354.     remove dep files and generated files.
  3355.     (clean): Depend on common-clean.
  3356.     (mostlyclean): Depend on common-mostlyclean.
  3357.     * Rules (mostlyclean): Target removed.
  3358.     (clean): Target removed.
  3359.     (distclean): New target; depend on clean.
  3360.     (realclean): New target; depend on distclean.
  3361.     (subdir_distclean): New target; depend on distclean.
  3362.     (subdir_realclean): New target; depend on realclean.
  3363.     (subdir_mostlyclean): New target; depend on mostlyclean.
  3364.     * Makefile (+subdir_targets): Add subdir_distclean,
  3365.     subdir_realclean; change mostlyclean to subdir_mostlyclean.
  3366.     (parent-mostlyclean): New target; depend on common-mostlyclean and
  3367.     remove libc.a and $(install-lib).
  3368.     (parent-clean): New target; depend on parent-mostlyclean and
  3369.     common-clean, and remove sysdirs sysd-dirs sysd-Makefile.
  3370.     (clean): Depend on parent-clean and just do submake for subdirs.
  3371.     (mostlyclean): Depend on parent-clean and just do submake for subdirs.
  3372.     (distclean, realclean): Depend on parent-clean and do submake
  3373.     distclean-1 passing it variable assignment distclean-1=$@.
  3374.     (distclean-1): Depend on subdir_$(distclean-1) and remove
  3375.     $(config-generated), config.status, config.make, Makefile (if not
  3376.     in srcdir).
  3377.     * manual/Makefile (subdir_clean): Target removed.
  3378.     (subdir_%): New rule to handle all such targets.
  3379.     (distclean): Depend on clean, not mostlyclean.
  3380.     (realclean): Depend on distclean, not clean.
  3381.  
  3382.     * sysdeps/unix/configure (unix_generated_dirpfx): New variable.
  3383.     Use it to put created .S files in sysdeps/unix if configured in
  3384.     srcdir, else in current directory.
  3385.     (unix_generated): Prepend $unix_generated_dirpfx.
  3386.     Have generated config.make fragment prepend $(objpfx).
  3387.     * sysdeps/unix/Makefile (generated): Don't set it.
  3388.     (config-generated): Set this instead; don't prepend any directory
  3389.     prefix to $(unix-generated).
  3390.  
  3391.     Fixes for SVR4 wait from jmc@ksu.ksu.edu (James Michael Chacon):
  3392.     * sysdeps/unix/sysv/sysv4/siginfo.h (__siginfo_t): Add `__code'
  3393.     and `__pid' fields.
  3394.     (EXITED, KILLED, CORED, TRAPPED, STOPPED, CONTINUED): New macros.
  3395.     * sysdeps/unix/sysv/sysv4/__waitpid.c: Switch on INFOP.__code and
  3396.     construct *STAT_LOC from INFOP.__status accordingly.
  3397.  
  3398.     * stdlib/testsort.c (main): Use puts to add newlines to printed lines.
  3399.  
  3400. Tue Jan 25 14:32:01 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3401.  
  3402.     * Version 1.07.1.
  3403.  
  3404.     * manual/Makefile (%.z): Change target pattern to %.gz.
  3405.     (dist): Comment out dep.  Don't really need the separate doc dist.
  3406.  
  3407.     * stdio/stdio.h [__OPTIMIZE__] (getchar, putchar, getdelim,
  3408.     getline, __getline): Use extern inlines instead of macros.
  3409.  
  3410.     * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Fix typo ($eax for %eax).
  3411.  
  3412.     * sysdeps/unix/siglist.c [! HAVE_GNU_LD] (_sys_siglist): #define
  3413.     to sys_siglist.
  3414.     * sysdeps/posix/__gettod.c [! HAVE_GNU_LD] (__daylight,
  3415.     __timezone, __tzname): #define to non-__ names.
  3416.  
  3417.     * math/math.h [__USE_BSD] (M_E, M_LOG2E, M_LOG10E, M_LN2, M-LN10,
  3418.     M_PI, M_PI_2, M_PI_4, M_1_PI, M_2_PI, M_2_SQRTPI, M_SQRT2,
  3419.     M_SQRT1_2): New macros.
  3420.  
  3421. Tue Jan 25 14:01:28 1994  Michael I. Bushnell  (mib at ernst.gnu.ai.mit.edu)
  3422.  
  3423.     * sysdeps/mach/hurd/start.c (start1): Decide separately whether to
  3424.     split argv and whether to split envp.
  3425.  
  3426.     * sysdeps/mach/hurd/i386/sysdep.h: File deleted.
  3427.     sysdeps/mach/i386/sysdep.h: Delete SET_SP macro.
  3428.     sysdeps/mach/hurd/start.c (_start): Don't call GET_SP; set globals
  3429.     instead of locals from exec_startup message.
  3430.  
  3431.     * misc/progname.c: Don't try to set
  3432.     program_invocation_name or program_invocation_short_name if argv
  3433.     or argv[0] is invalid.
  3434.  
  3435. Mon Jan 24 16:51:43 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3436.  
  3437.     * sysdeps/unix/sysv/sysv4/__waitpid.c: Return INFOP.__pid instead of
  3438.     the PID we were called with.
  3439.  
  3440.     * sysdeps/unix/sysv/__mkdir.c (__mkdir): Restore errno before
  3441.     returning, not after (lot of good that did).
  3442.  
  3443.     * sysdeps/unix/bsd/ultrix4/system.c, sysdeps/unix/bsd/bsd4.4/system.c,
  3444.     sysdeps/unix/bsd/osf1/system.c, sysdeps/unix/sysv/sco3.2.4/system.c,
  3445.     sysdeps/unix/bsd/sun/sunos4/system.c, sysdeps/unix/sysv/sysv4/system.c:
  3446.     New files.  Avoid sysdeps/unix/system.c, which defines NO_WAITPID.
  3447.  
  3448.     * set-init.c (__libc_init): Use `n' count field instead of
  3449.     checking for null terminator.  The latter loses when there are no
  3450.     set elts at all, and only one word is allocated for __libc_subinit.
  3451.  
  3452.     * sysdeps/generic/waitstatus.h (__WCOREFLAG): New macro.
  3453.     * posix/sys/wait.h [__USE_BSD] (WCOREFLAG): New; define to __WCOREFLAG.
  3454.  
  3455.     * stdio/fileno.c (fileno): Call __stdio_check_funcs.
  3456.  
  3457.     * stdio/tst-fileno.c: New file.
  3458.  
  3459. Fri Jan 21 16:56:50 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3460.  
  3461.     * Rules (dep-dummy-lib, make-dummy-lib): New variables.
  3462.     ($(objpfx)dummy.o): New file rule.
  3463.     * posix/Makefile ($(objpfx)libposix.a): Depend on
  3464.     $(dep-dummy-lib), and use $(make-dummy-lib) for commands.
  3465.     * math/Makefile ($(objpfx)libm.a): Likewise.
  3466.  
  3467.     * sysdeps/unix/sysv/sysv4/i386/__stat.S: New file.
  3468.     * sysdeps/unix/sysv/sysv4/i386/__lstat.S: Likewise.
  3469.     * sysdeps/unix/sysv/sysv4/i386/__fstat.S: Likewise.
  3470.  
  3471.     * sysdeps/sparc/bytesex.h: New file.
  3472.  
  3473. Thu Jan 20 12:45:35 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3474.  
  3475.     * sysdeps/stub/syscall.c (syscall): Declare arg type as int.
  3476.  
  3477. Wed Jan 19 18:18:15 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3478.  
  3479.     * Makerules ($(before-compile) rule): Protect w/`ifdef before-compile'.
  3480.  
  3481.     * manual/Makefile: Change all `mv' uses to `mv -f'.
  3482.     (subdir_install): Depend on stubs.
  3483.  
  3484.     * Makerules ($(objpfx)%.dep: %.s): Depend also on $(objpfx)dummy.dep.
  3485.  
  3486. Tue Jan 18 19:12:57 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3487.  
  3488.     * stdlib/testsort.c (main): Swap dimensions of BUFS array.
  3489.  
  3490. Mon Jan 17 17:31:28 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3491.  
  3492.     * Version 1.07 released.
  3493.  
  3494.     * Makerules (install-lib rules): Fix typos: missing / after $(libdir).
  3495.  
  3496.     * posix/Makefile (lib): Depend on $(objpfx)libposix.a
  3497.     * malloc/Makefile (lib): Depend on $(objpfx)libmcheck.a.
  3498.     * math/Makefile (lib): Depend on $(objpfx)libm.a.
  3499.     * misc/Makefile (lib): Depend on $(objpfx)libbsd-compat.a.
  3500.  
  3501.     * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: New file.
  3502.  
  3503.     * stdio/internals.c (flushbuf): Don't try aligned-block writing
  3504.     calculation when FP->__buffer is nil.
  3505.  
  3506. Mon Jan 17 17:27:56 1994  Jim Meyering  (meyering@comco.com)
  3507.  
  3508.     * sysdeps/generic/memcmp.c [!_LIBC]: Include <sys/types.h> for
  3509.     definition of size_t.
  3510.  
  3511. Mon Jan 17 17:13:11 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3512.  
  3513.     * sysdeps/unix/sysv/sco3.2.4/syscall.h:    Add SYS_[gs]etitimer and
  3514.     SYS_pgrpsys (from scottb).
  3515.  
  3516.     * sysdeps/unix/configure: Check for getitimer and setitimer syscalls.
  3517.  
  3518.     * sysdeps/unix/bsd/sequent/i386/syscall.S: New file from jason.
  3519.  
  3520. Sun Jan 16 00:41:03 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3521.  
  3522.     * string/strerror.c (strerror): Declare BUF to be array of char.
  3523.  
  3524.     * Version 1.06.13.
  3525.  
  3526. Sat Jan 15 17:27:26 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3527.  
  3528.     * stdlib/testsort.c (main): Rewrite not to read any input; instead
  3529.     generate some random alphabetic strings.
  3530.  
  3531.     * stdlib/Makefile (testsort.input): Rules removed.
  3532.  
  3533.     * sysdeps/unix/sysv/i386/__sigret.S: New file.
  3534.  
  3535.     * stdio/Makefile (distribute): Add mpn-copy.mk.
  3536.     Remove 68k rules; include mpn-copy.mk for dir names needing
  3537.     translation, and rewrite no-68k rules to be generic for the rest.
  3538.     (mpn-copy-sysdep): New variable.
  3539.     (mpn-stuff): Include $(mpn-copy-sysdep).
  3540.     (clean-mpn): Use rm -f.
  3541.  
  3542.     * configure.in (machine): Match m68... and m88..., not mc[68]8....
  3543.  
  3544.     * stdio/printf_fp.c: For length arg to __mpn_extract_double, pass
  3545.     actual number of limbs allocated for F, not LDBL_MANT_DIG.
  3546.  
  3547. Fri Jan 14 19:09:29 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3548.  
  3549.     * sysdeps/unix/i386/sysdep.S: Fixed typo: `movl', not `move'.
  3550.  
  3551.     * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Swap args in cmpl insn.
  3552.  
  3553. Thu Jan 13 17:09:19 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3554.  
  3555.     * Version 1.06.12.
  3556.  
  3557.     * sysdeps/mips/sqrt.c: File removed.  Ian says only the r[46]00
  3558.     have `sqrt.d' and GCC open codes it anyway.  Perhaps someday
  3559.     Brendan will be able to explain his rationale for writing this. :(
  3560.  
  3561. Tue Jan 11 18:10:17 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3562.  
  3563.     * posix/sys/wait.h (__WAIT_STATUS, __WAIT_STATUS_DEFN): Use snazzy
  3564.     version only for GCC >= 2.6 (was 2.4); 2.5.7 produces bad code on
  3565.     sparc when the union arg type is used.
  3566.  
  3567.     * Makeconfig (libprefix): New variable.
  3568.     * Makerules ($(libdir)/libc.a, install): Insert $(libprefix)
  3569.     between `lib' and `c' in the file name.
  3570.     [install-lib] (install-lib.a, install-lib-non.a): New variables
  3571.     separate out $(install-lib) elts which do or don't match lib%.a.
  3572.     ($(libdir)/...): Split into two rules for above two cases.  Put
  3573.     $(libprefix) on installed files; for lib%.a insert it before %
  3574.     rather than at beginning of file name.
  3575.  
  3576.     * Version 1.06.11.
  3577.  
  3578.     * Makerules (compilation rules): Move directoryless rules (for
  3579.     finding sources in .) before include sysd-rules.  Omit rules to
  3580.     compile from sources in $(objpfx) if not using $(objdir).
  3581.  
  3582.     * sysdeps/stub/errlist.c [! HAVE_GNU_LD]: #define _sys_errlist to
  3583.     sys_errlist and _sys_nerr to sys_nerr.
  3584.  
  3585. Mon Jan 10 15:01:32 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3586.  
  3587.     * time/Makefile (z.%): In generated rules, depend on yearistype.
  3588.     (tzcompile): Pass -y flag with file name of yearistype.
  3589.  
  3590. Sun Jan  9 17:51:43 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3591.  
  3592.     * misc/bsd-compat.c (longjmp): Use __NORETURN in type.
  3593.  
  3594.     * sysdeps/ieee754/dbl2mpn.c [N == 2]: For denormal, when
  3595.     RES_PTR[1] is zero, return 1 instead of 2.
  3596.  
  3597. Sun Jan  9 13:10:25 1994  Torbjorn Granlund  (tege@adder.cygnus.com)
  3598.  
  3599.     * stdio/printf_fp.c: Solve 10+ problems.
  3600.     * ieee754/dbl2mpn.c: Correctly detect denorms.  Get the denom
  3601.     exponent right.
  3602.  
  3603. Sun Jan  9 00:40:48 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3604.  
  3605.     * sysdeps/ieee754/dbl2mpn.c: Test BITS_PER_MP_LIMB and handle
  3606.     either 32 or 64; #error if not one of those.
  3607.  
  3608.     * sysdeps/stub/udiv_qrnnd.c: Renamed from udiv_qrnnd.S.
  3609.  
  3610. Sat Jan  8 00:25:15 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3611.  
  3612.     * Version 1.06.10.
  3613.  
  3614.     * Makerules ($(libdir)/libc.a): Depend on subdir_install.
  3615.  
  3616. Thu Jan  6 02:17:07 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3617.  
  3618.     * Makerules ($(bindir)/$(install)): Use $(INSTALL_PROGRAM), not
  3619.     $(INSTALL).
  3620.     ($(libdir)/libc.a): Don't depend on lib-noranlib; on libobjs and
  3621.     ar-it instead.  Run ranlib on target after installing.
  3622.     (installdirs): Target removed; deps on it removed.
  3623.     (install-{bin,lib,data,headers,others,no-libc.a}): Renamed to
  3624.     `install-*-nosubdir'.
  3625.     (install-%): New pattern rule.
  3626.     (install): Depend only on install-no-libc.a-nosubdir.
  3627.     * Rules (subdir_install): Depend on lib-noranlib and stubs.
  3628.     * Makefile (headers): Remove stubs.h.
  3629.     (install-others): Define to include $(includedir)/stubs.h.
  3630.     ($(includedir)/stubs.h): New target for $(objpfx)stubs.h rule.
  3631.     Depend only on subdir_install, and install directly.
  3632.  
  3633.     * Makerules (sed-remove-objpfx): Require SPC before $(objpfx) to match.
  3634.  
  3635.     * time/zic.c (mkdirs): Duplicate passed string in allocated memory
  3636.     and free it when done.
  3637.  
  3638.     * dirent/dirent.h [__USE_BSD || __USE_MISC]: Get size_t from stddef.h.
  3639.  
  3640.     * sysdeps/ieee754/dbl2mpn.c: For zero value, return 1 limb not 0.
  3641.  
  3642.     * Makerules (make-dummy-dep): Use filter-out to invert sense of
  3643.     wildcard match, so we produce a command if $@ does *not* exist.c
  3644.  
  3645.     * stdio/Makefile (routines): Add dbl2mpn.
  3646.  
  3647. Wed Jan  5 17:52:43 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3648.  
  3649.     * sysdeps/unix/i386/sysdep.S (syscall_error): Reverse args in
  3650.     `cmpl' insn; non-GNU assembler is feeble-minded.
  3651.  
  3652. Mon Jan  3 18:53:45 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3653.  
  3654.     * configure.in (sysnames): Remove / before $mach; it is prepended
  3655.     already by the loop constructing $mach from $machine.
  3656.  
  3657. Tue Dec 28 07:38:23 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3658.  
  3659.     * stdio/Makefile [gmp-srcdir] (clean-mpn): New target.
  3660.  
  3661.     * configure.in (machine): Turn i[34]86 into i386/&, sparc* into
  3662.     sparc/&, m68k into m68k/mc68020, mc680?0 into m68k/&, mips or
  3663.     r2000 into mips/r3000, r[34]000 into mips/&.
  3664.     (mach): New variable; processed from $machine as $base from $base_os.
  3665.     Use that in place of $machine in loop finding sysdep directories.
  3666.  
  3667.     * stdio/Makefile (aux): Add mp_clz_tab.
  3668.     (mpn-copy): Add mp_clz_tab.c.
  3669.     (mpn-routines): Add udiv_qrnnd.
  3670.     (mpn-sysdep): Look for .s files too.
  3671.     * sysdeps/stub/udiv_qrnnd.S: New file.
  3672.  
  3673. Sat Dec 25 00:20:07 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3674.  
  3675.     * Version 1.06.9.
  3676.  
  3677.     * Makefile (distribute): Add install.sh.
  3678.     * install.sh: New file.
  3679.  
  3680.     * sysdeps/i386/Makefile: New file.
  3681.     (asm-CPPFLAGS): Add -DGAS_SYNTAX.
  3682.  
  3683.     * stdio/printf_fp.c: Major rewrite of sysdeps/generic/printf_fp.c,
  3684.     working with the fractional parts as multiprecision integers
  3685.     instead of doubles, using mpn functions from GNU MP.  Done with
  3686.     much help from tege@cygnus.com.
  3687.     * sysdeps/generic/printf_fp.c, sysdeps/ieee754/printf_fp.c,
  3688.     sysdeps/m68k/fpu/printf_fp.c: Files removed.
  3689.  
  3690. Fri Dec 24 23:09:44 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3691.  
  3692.     * sysdeps/stub/dbl2mpn.c, sysdeps/iee754/dbl2mpn.c: New files.
  3693.     * sysdeps/stub/asm.h: New file.
  3694.     * sysdeps/m68k/add_n.S, sysdeps/m68k/addmul_1.S,
  3695.     sysdeps/m68k/mul_1.S, sysdeps/m68k/sub_n.S,
  3696.     sysdeps/m68k/submul_1.S, sysdeps/m68k/asm.h,
  3697.     sysdeps/generic/add_1.c, sysdeps/generic/add_n.c,
  3698.     sysdeps/generic/addmul_1.c, sysdeps/generic/cmp.c,
  3699.     sysdeps/generic/divmod.c, sysdeps/generic/divmod_1.c,
  3700.     sysdeps/generic/lshift.c, sysdeps/generic/rshift.c,
  3701.     sysdeps/generic/mod_1.c, sysdeps/generic/mul.c,
  3702.     sysdeps/generic/mul_1.c, sysdeps/generic/mul_n.c,
  3703.     sysdeps/generic/sub_n.c, sysdeps/generic/submul_1.c,
  3704.     sysdeps/generic/get_str.c, sysdeps/i386/addmul_1.S,
  3705.     sysdeps/i386/mul_1.S, sysdeps/i386/submul_1.S,
  3706.     sysdeps/alpha/gmp-mparam.h, sysdeps/generic/gmp-mparam.h,
  3707.     sysdeps/i386/asm.h, stdio/longlong.h, stdio/gmp.h,
  3708.     stdio/gmp-impl.h: New files, taken from GNU MP.
  3709.     * stdio/Makefile (mpn-headers, mpn-routines): New variables.
  3710.     (routines): Include $(mpn-routines).
  3711.     (distribute): Include $(mpn-headers).
  3712.     [gmp-srcdir]: Much code to copy mpn source from $(gmp-srcdir).
  3713.     * configure.in: Check for a --with-gmp argument and set gmp-srcdir
  3714.     in config.make to its value (error if no arg given).  Move
  3715.     config_vars initialization before this (right after arg parsing).
  3716.  
  3717. Thu Dec 23 01:44:12 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3718.  
  3719.     * sysdeps/m68k/Makefile (m68k-syntax-flag): New variable.
  3720.     (compile-command.S): Include $(m68k-syntax-flag) in cpp flags.
  3721.  
  3722.     * manual/Makefile (install-data): New target.
  3723.     (install-%): New pattern rule.
  3724.  
  3725.     * Makerules ($(bindir)/...): Do $(make-target-directory) first.
  3726.  
  3727. Thu Dec 23 01:03:19 1993  Brendan Kehoe  (brendan@zen.org)
  3728.  
  3729.     Port to the DEC Alpha running OSF/1. (75% done)
  3730.     * sysdeps/unix/bsd/osf1/alpha/start.S: New file.
  3731.     * sysdeps/unix/bsd/osf1/alpha/sysdep.h: New file.
  3732.     * sysdeps/unix/bsd/osf1/alpha/sysdep.S: New file.
  3733.     * sysdeps/unix/bsd/osf1/alpha/__brk.S: New file (incomplete).
  3734.     * sysdeps/unix/bsd/osf1/alpha/__fork.S: New file.
  3735.     * sysdeps/unix/bsd/osf1/alpha/__pipe.S: New file.
  3736.     * sysdeps/unix/bsd/osf1/alpha/__getdents.S: New file.
  3737.     * sysdeps/unix/bsd/osf1/alpha/__waitpid.c: New file.
  3738.     * sysdeps/unix/bsd/osf1/alpha/__wait4.S: New file.
  3739.     * sysdeps/unix/bsd/osf1/dirstream.h: New file.
  3740.     * sysdeps/unix/bsd/osf1/alpha/statbuf.h: New file.
  3741.     * sysdeps/unix/bsd/osf1/direct.h: New file.
  3742.     * sysdeps/unix/bsd/osf1/dirstream.h: New file.
  3743.     * sysdeps/unix/bsd/osf1/Makefile: New file, defining LDFLAGS.
  3744.  
  3745.     * sysdeps/unix/ioctls-tmpl.c [__osf1__ && __alpha__]: Clean up the
  3746.     ioctls that we get for an Alpha running OSF/1.
  3747.  
  3748.     * sysdeps/unix/common/glue-ctype.c: Add code for HAVE__LOCP.
  3749.     (main): If new macro TABLE_NAME is defined, use that for the name
  3750.     of the array we're writing out, rather than what's defined in TABLE.
  3751.     * sysdeps/unix/common/configure.in (AC_HAVE_FUNCS): Add `_locp'.
  3752.  
  3753.     * sysdeps/unix/bsd/osf1/sigaction.h: Add SA_ONSTACK, SA_RESTART,
  3754.     and SA_DISABLE.
  3755.     * sysdeps/alpha/setjmp.S: Add .end directive.
  3756.  
  3757.     * time/sys/time.h (struct timeval): Make members TV_SEC and
  3758.     TV_USEC be `int', not `long', since it won't hurt other hosts, but
  3759.     kills the Alpha.
  3760.     * resource/sys/resource.h (struct rusage): Make all non-timeval
  3761.     members be `long', not `int'.
  3762.  
  3763.     * sysdeps/alpha/strlen.c (strlen): Go from 0 to 7, not 3, since
  3764.     there are 8 bytes in a long on the Alpha.  Check for '\0' after
  3765.     checking for C in initial byte-by-byte loop.
  3766.     * sysdeps/alpha/strchr.c (strchr): Likewise. Shift out to 64 when
  3767.     setting CHARMASK.
  3768.     * sysdeps/alpha/memchr.c (memchr): Likewise.  Return NULL if we
  3769.     didn't find it in N characters, or N == 0.  Declare CP to be an
  3770.     unsigned char*.
  3771.  
  3772.     * sysdeps/alpha/Makefile: Add divrem stuff.
  3773.     * sysdeps/alpha/DEFS.h: New file.
  3774.     * sysdeps/alpha/divrem.m4: New file.
  3775.     * sysdeps/alpha/macros.m4: New file.
  3776.     * sysdeps/alpha/Dist: Add .S files, divrem.m4, macros.m4, and DEFS.h.
  3777.  
  3778.     * sysdeps/unix/bsd/osf1/alpha/vhangup.S: New file.  (Only a
  3779.     temporary workaround, until we figure out how to deal with the
  3780.     SYS_ult syscalls better.)
  3781.     * sysdeps/unix/bsd/osf1/alpha/killpg.S: Likewise.
  3782.     * sysdeps/unix/bsd/osf1/alpha/__sigvec.S: Likewise.
  3783.     * sysdeps/unix/bsd/osf1/alpha/__sigpause.S: Likewise.
  3784.     * sysdeps/unix/bsd/osf1/alpha/__sigstmsk.S: Likewise.
  3785.     * sysdeps/unix/bsd/osf1/alpha/recv.S: Likewise.
  3786.     * sysdeps/unix/bsd/osf1/alpha/send.S: Likewise.
  3787.  
  3788.     * sysdeps/alpha/__math.h (__copysign): Add __CONSTVALUE.
  3789.     * sysdeps/alpha/__copysign.c: Define __NO_MATH_INLINES.
  3790.     * sysdeps/alpha/fabs.c: Likewise.
  3791.  
  3792. Wed Dec 22 17:55:49 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3793.  
  3794.     * crypt/*: New version from glad.
  3795.  
  3796.     * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
  3797.  
  3798.     * dirent/Makefile (headers): Define; include dirent.h & dirstream.h.
  3799.  
  3800. Tue Dec 21 14:24:38 1993  Brendan Kehoe  (brendan@zen.org)
  3801.  
  3802.         * sysdeps/unix/sysv/sysv4/i386/statbuf.h (struct stat): Add
  3803.         missing member ST_FSTYPE.  Fixup types on various members to make
  3804.         this properly reflect what the system has.
  3805.  
  3806.     * misc/ioctl.c (ioctl): Declare 2nd arg to be unsigned long int to
  3807.     match the change in ioctl.h.
  3808.  
  3809. Tue Dec 21 00:01:01 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3810.  
  3811.     * Version 1.06.8.
  3812.  
  3813.     * dirent/dirent.h (struct dirent): Add `d_reclen'; make `d_namlen'
  3814.     an `unsigned short int' instead of `size_t'.
  3815.     (DIR): Move typedef to sysdep file dirstream.h.
  3816.     * sysdeps/unix/dirstream.h: New file, broken out of dirent.h.
  3817.     * sysdeps/stub/dirstream.h: New file.
  3818.     * sysdeps/unix/bsd/dirstream.h: New file.
  3819.     * sysdeps/unix/bsd/readdir.c: New file.
  3820.  
  3821. Mon Dec 20 23:29:07 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3822.  
  3823.     * sysdeps/unix/start.c: Include <sysdep.h>.
  3824.     * sysdeps/unix/sysv/sysv4/i386/start.c: File removed.
  3825.  
  3826. Sat Dec 18 01:37:25 1993  Brendan Kehoe  (brendan@zen.org)
  3827.  
  3828.     * sysdeps/unix/sysv/sysv4/i386/start.c: New file.  Same as
  3829.     sysdeps/unix/i386/start.c, but defines NO_UNDERSCORES.
  3830.  
  3831.     * sysdeps/unix/sysv/sysv4/waitflags.h: New file, with non-standard
  3832.     WEXITED and WTRAPPED macros defined.
  3833.     * sysdeps/unix/sysv/sysv4/__waitpid.c: New file.
  3834.     * sysdeps/unix/sysv/sysv4/siginfo.h: New file.
  3835.     * sysdeps/unix/sysv/sysv4/__waitid.S: New file.
  3836.     * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Mention __waitid.
  3837.     * sysdeps/unix/sysv/sysv4/pipestream.c: New file, to avoid having
  3838.     NO_WAITPID set.
  3839.     * sysdeps/unix/sysv/sysv4/Dist: Added __waitid.S and siginfo.h.
  3840.  
  3841.     * sysdeps/unix/sysv/sysv4/__getpgid.c: New file.
  3842.     * sysdeps/unix/sysv/sysv4/__setpgid.c: New file.
  3843.     * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Add them.
  3844.  
  3845.     * sysdeps/unix/sysv/sysv4/__getpgrp.c (__getpgrp): It's the 0th
  3846.     subcall for getpgrp, not 4th.
  3847.     * sysdeps/unix/sysv/sysv4/__setpgrp.c (__setpgrp): Likewise, it's
  3848.     the 1st, not the 5th.
  3849.  
  3850. Fri Dec 17 15:05:58 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3851.  
  3852.     * misc/sys/ioctl.h (__ioctl, ioctl): Make second arg `unsigned
  3853.     long int' instead of `int' (4.4 uses unsigned long).
  3854.  
  3855.     * string/string.h (strcat): Parameters names were swapped.
  3856.  
  3857. Fri Dec 17 01:18:27 1993  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  3858.  
  3859.     * Made the Hurd error system 0x10 again; this undid many
  3860.     of the changes of Nov 23.  Affected all the err_ files in
  3861.     mach; recreated sysdeps/hurd/err_hurd.sub; changed back
  3862.     err_kern.sub to have the Unix error codes. 
  3863.  
  3864. Thu Dec 16 15:40:25 1993  Brendan Kehoe  (brendan@zen.org)
  3865.  
  3866.     * stdio/temptest.c (main): Remove the files we created once we're
  3867.     done.  Make return type int, and exit with 0 status.
  3868.  
  3869.     * sysdeps/posix/tempname.c (__stdio_gen_tempname): Fix typo of
  3870.     extra comma in sprintf call.
  3871.  
  3872. Tue Dec 14 13:08:35 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3873.  
  3874.     * sysdeps/posix/tempname.c (__stdio_gen_tempname): Rewrote main
  3875.     logic.  Removed INFOS structure array and replaced it with
  3876.     INDICES, an array of size_t.  Removed INFO ptr and replaced it
  3877.     with IDX, which points to either elt of INDICES.  Rewrite main
  3878.     loop to increment *IDX until it hits 62*62*62.  Construct file
  3879.     name by dividing out two powers of 62 from *IDX and using the
  3880.     modulus as an index into `letters'.
  3881.  
  3882.     * sysdeps/unix/common/Makefile (sysdep_routines): Only add
  3883.     bsd_getgrp here if the sysdep __getgrps.? chosen is unix/common's.
  3884.  
  3885.     * posix/fnmatch.h: #undef FNM_PATHNAME, FNM_NOESCAPE, and
  3886.     FNM_PERIOD before defining them.
  3887.  
  3888.     * time/__tzset.c (compute_change): In M case when tallying time in
  3889.     months before specified month, count to RULE->m - 1, not ...+1.
  3890.  
  3891.     * manual/Makefile (realclean): Remove index, aux, and toc files
  3892.     created by TeX.
  3893.  
  3894. Mon Dec 13 19:33:33 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3895.  
  3896.     * sysdeps/posix/__wait3.c: Use __WAIT_STATUS_DEFN in place of
  3897.     __WAIT_STATUS in arg type.
  3898.  
  3899. Wed Dec  8 15:59:45 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3900.  
  3901.     * malloc/memalign.c: Set L->next and _aligned_blocks only when L
  3902.     is newly allocated, not when we reuse an old one.
  3903.  
  3904. Tue Dec  7 16:04:22 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3905.  
  3906.     * io/fcntl.c: Replace function_alias use with:
  3907.     [HAVE_GNU_LD]: Use symbol_alias.
  3908.     [! HAVE_GNU_LD]: Define fcntl to use stdarg and call __fcntl.
  3909.  
  3910. Mon Dec  6 17:50:05 1993  Brendan Kehoe  (brendan@zen.org)
  3911.  
  3912.     * sysdeps/unix/i386/sysdep.S (syscall_error): Fix labels so
  3913.     they'll compile.
  3914.  
  3915.     Make the Solaris port work dammit.
  3916.     * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h (struct stat): Make
  3917.     ST_DEV member be unsigned long, not short.
  3918.  
  3919.     * sysdeps/unix/sysv/sysv4/solaris2/direct.h: New file, same as
  3920.     sysv4/direct.h but uses strlen instead of the offset-based
  3921.     computation of the name length, since that doesn't reliably work
  3922.     for Solaris.
  3923.  
  3924.         * sysdeps/unix/sysv/sysv4/solaris2/sysdep.h (PSEUDO): Don't move
  3925.         %g0 into %o0, since that will clobber the real return value. Take
  3926.         out the retl at the end, why in the world did I put it in there?
  3927.  
  3928. Mon Dec  6 17:27:26 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3929.  
  3930.     * Makefile ($(objpfx)crt1.o): Add target to $(objpfx)Mcrt1.o
  3931.     rule; generalize commands.
  3932.     (install-lib): Add crt1.o.
  3933.  
  3934.     * sysdeps/unix/Makefile ($(common-objpfx)ioctls): Use -x flag to
  3935.     fgrep to match only entire lines.
  3936.  
  3937. Sun Dec  5 01:53:43 1993  Brendan Kehoe  (brendan@zen.org)
  3938.  
  3939.     * sysdeps/unix/bsd/ultrix4/mips/start.S: New file.
  3940.     * sysdeps/unix/bsd/ultrix4/mips/start.c: Deleted.
  3941.  
  3942. Thu Dec  2 18:29:01 1993  Brendan Kehoe  (brendan@zen.org)
  3943.  
  3944.     * sysdeps/unix/bsd/ultrix4/mips/sysdep.S: Don't use dollar signs
  3945.     with the errnos.
  3946.  
  3947.     * sysdeps/stub/{__wait, __wait3, __wait4}.c,
  3948.     sysdeps/unix/bsd/bsd4.4/{__wait, __wait3}.c,
  3949.     sysdeps/unix/bsd/sun/sunos4/__wait4.c,
  3950.     sysdeps/posix/{__wait, __wait3}.c, posix/{wait, wait3, wait4}.c: Use
  3951.     __WAIT_STATUS_DEFN, not __WAIT_STATUS.
  3952.  
  3953.     * sysdeps/posix/killpg.c (killpg): Make arg PGRP __pid_t, not pid_t.
  3954.     * sysdeps/stub/killpg.c (killpg): Likewise.
  3955.  
  3956.     * setjmp/longjmp.c (longjmp): Only use __NORETURN if !HAVE_GNU_LD.
  3957.     * setjmp/_longjmp.c (_longjmp): Likewise.
  3958.  
  3959. Thu Dec  2 17:31:19 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3960.  
  3961.     * posix/sys/wait.h (__WAIT_STATUS_DEFN): Define new macro.
  3962.  
  3963.     * Makerules (+install): Variable removed.
  3964.     (install-bin, install-lib, install-data, install-headers,
  3965.     install-others): New targets.
  3966.     (install-no-libc.a): Depend on them instead of $(+install).
  3967.  
  3968.     * Makefile (+subdir_targets): Add
  3969.     install-{no-libc.a,bin,lib,data,headers,others}.
  3970.     (install-no-libc.a): Don't depend on subdir_install.
  3971.  
  3972. Thu Dec  2 17:14:39 1993  Brendan Kehoe  (brendan@zen.org)
  3973.  
  3974.     * sysdeps/ieee754/__isnan.c (__isnan): Return __CONSTVALUE, to
  3975.     match declaration in math/math.h.
  3976.  
  3977. Thu Dec  2 15:48:19 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3978.  
  3979.     * time/africa, time/antarctica, time/asia, time/australasia,
  3980.     time/emkdir.c, time/europe, time/ialloc.c, time/northamerica,
  3981.     time/pacificnew, time/private.h, time/solar87, time/solar88,
  3982.     time/southamerica time/systemv, time/tzfile.h, time/zdump.c,
  3983.     time/zic.c: New data and code from ADO.
  3984.     * time/Makefile (tzfiles): Added backward.
  3985.     * time/backward: New file from ADO.
  3986.  
  3987.     * locale/C-ctype_ct.c: Remove _ISspace bit from BS (8).
  3988.  
  3989. Wed Dec  1 00:01:30 1993  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  3990.  
  3991.     * mach/err_kern.sub: Frob around lack of GNU ld.
  3992.  
  3993.     * mach/errsystems.awk: The declaration of __mach_error_systems
  3994.     should not be static, but it should be const.
  3995.  
  3996.     * sysdeps/mach/hurd/errlist.awk (BEGIN): Deal with the case
  3997.     where you don't have GNU ld.
  3998.  
  3999.     * sysdeps/mach/hurd/Makefile: Define mib_hacks to make.
  4000.  
  4001. Tue Nov 30 23:24:07 1993  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  4002.  
  4003.     * Makefile: install-no-libc.a needs to depend on subdir_install.
  4004.  
  4005. Mon Nov 29 16:21:38 1993  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  4006.  
  4007.     * sysdeps/mach/_strerror.c: Include <mach/errorlib.h>.
  4008.  
  4009.     * hurd/setuids.c: Put entire file inside #ifndef MIB_HACKS; 
  4010.     it uses the old auth_makeauth call.
  4011.  
  4012.     * hurd/__setauth.c: Put entire file inside #ifndef MIB_HACKS;
  4013.     it depends on cthreads to compile, which is not yet integrated.
  4014.  
  4015.     * hurd/hurdpath.c (__hurd_path_lookup): cast to avoid GCC warning.
  4016.  
  4017. Wed Nov 24 00:59:15 1993  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  4018.  
  4019.     * hurd/Makefile: Commented out hurdauth; recent changes to
  4020.     auth.defs prevent it from working now.
  4021.  
  4022.     * mach/mach_error_string.c (do_compat): Change name to
  4023.     __mach_error_map_compat; make it no longer static.
  4024.     (mach_error_type, mach_error_string_int): Use 
  4025.     __mach_error_map_compat instead of do_compat.
  4026.     * sysdeps/mach/_strerror.c: Use __mach_error_map_compat.
  4027.  
  4028.     * mach/devstream (output/write_some): Cast fourth argument to
  4029.     device_write_inband to char * to avoid warning.
  4030.     (output): Call to write_some mentioned variable `start' from
  4031.     a previous version of the function; changed this to f->__buffer.
  4032.  
  4033. Tue Nov 23 23:16:13 1993  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  4034.  
  4035.     [ The net effect of the following change is to eliminate error
  4036.     systems which are specific to single-server Mach systems, and
  4037.     to put the Hurd errors where the Unix errors were. ]
  4038.     * mach/{err_bootstrap.sub,err_ipc.sub,err_server.sub,err_us.sub}:
  4039.     None of these are used for the Hurd; we shouldn't pretend that
  4040.     they are meaningful in our environment.  The files have been
  4041.     renamed to equivalent names with an equal sign prepended; this
  4042.     will inhibit distribution and prevent the Makefile from looking at
  4043.     them. 
  4044.     * mach/err_kern.sub: Deleted the definitios of err_codes_unix;
  4045.     get the strings from _sys_errlist.  Rename `unix' to `hurd'.
  4046.     Rename err_os_sub to be err_kern_sub to match what errsystems.awk
  4047.     expects.
  4048.     * sysdeps/mach/hurd/err_hurd.sub: Deleted this file.
  4049.     * sysdeps/mach/hurd/errnos.awk: Changed definition of _HURD_ERRNO
  4050.     to be correct.
  4051.  
  4052.     * sysdeps/mach/hurd/Makefile: use gawk, not awk.
  4053.  
  4054.     * mach/errsystems.awk: Generally rewrote the printf.  It's now
  4055.     closer to Roland's original, but without the $i mistake at all,
  4056.     in any form.
  4057.  
  4058. Tue Nov 23 20:21:06 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4059.  
  4060.     * sysdeps/unix/{i386,sysv/sysv4/solaris2,sysv/i386/linux,bsd/m68k,
  4061.     bsd/ultrix4/mips,bsd/vax}/sysdep.S: Define _ERRNO_H before
  4062.     including <errnos.h>; otherwise <errnos.h> does not define most
  4063.     macros (importantly, EAGAIN!).
  4064.  
  4065. Tue Nov 23 12:43:38 1993  Michael I. Bushnell  (mib at ernst.gnu.ai.mit.edu)
  4066.  
  4067.     * mach/errsystems.awk: $i is not an index; make i a variable and
  4068.     increment it properly.  Don't call `err_get_system'; use the
  4069.     system number as the index in the array directly. 
  4070.  
  4071.         * mach/errorlib.h: Added `const' in all the right places.
  4072.         * sysdeps/mach/hurd/err_hurd.sub: Cast _sys_errlist to
  4073.     the right type.  Better to declare it right in stdio/stdio.h, but
  4074.     I don't dare change that file lest Roland call me a twit.
  4075.     * mach/err_us.sub: Add more brackets to initializer to shut GCC up.
  4076.  
  4077.     * sysdeps/mach/hurd/err_hurd.sub: Delete keyword `const'; this
  4078.     is taken care of by the `#define static static const' found in
  4079.     errsystems.c as created by mach/errsystems.awk.
  4080.     * mach/errsystems.awk: Ditto for declaration of __mach_error_systems.
  4081.  
  4082.     * sysdeps/mach/hurd/err_hurd.sub: Change <errnos.h> to <errno.h>;
  4083.     errnos.h doesn't define most stuff unless it is included from errno.h.
  4084.  
  4085.     * mach/mach_error_string.c (mach_error_string_int): Delete unused
  4086.     variable `err_str'.
  4087.  
  4088.     * mach/mach_error_string.c (do_compat): Declare to be void.
  4089.     (mach_error_string,mach_error_type, mach_error_string_int):
  4090.     Declare return type as const char *.
  4091.     * mach/mach_error.h: Change declarations to match.
  4092.  
  4093.     * mach/errsystems.awk: The array that split creates is origin 1,
  4094.     not origin 0; fixed loop to match.
  4095.  
  4096.     * sysdeps/mach/hurd/errnos.awk: Ernst's awk doesn't grok 
  4097.     backslash-newline inside strings.  
  4098.  
  4099. Sat Nov 20 19:02:25 1993  Brendan Kehoe  (brendan@zen.org)
  4100.  
  4101.     * math/__finite.c (__finite): Return __CONSTVALUE, to match math.h.
  4102.     * math/__scalb.c (__scalb): Likewise.
  4103.     * math/copysign.c (copysign): Likewise.
  4104.     * math/drem.c (drem): Likewise.
  4105.     * math/expm1.c (expm1): Likewise.
  4106.     * math/finite.c (finite): Likewise.
  4107.     * math/infnan.c (infnan): Likewise.
  4108.     * math/isinf.c (isinf): Likewise.
  4109.     * math/isnan.c (isnan): Likewise.
  4110.     * math/logb.c (logb): Likewise.
  4111.     * math/rint.c (rint): Likewise.
  4112.     * math/scalb.c (scalb): Likewise.
  4113.     * sysdeps/generic/atan.c (atan): Likewise.
  4114.     * sysdeps/ieee754/__copysign.c (__copysign): Likewise.
  4115.     * sysdeps/ieee754/__drem.c (__drem): Likewise.
  4116.     * sysdeps/ieee754/__isinf.c (__isinf): Likewise.
  4117.     * sysdeps/ieee754/__logb.c (__logb): Likewise.
  4118.     * sysdeps/ieee754/ldexp.c (ldexp): Likewise.
  4119.     * sysdeps/ieee754/log10.c (log10): Likewise.
  4120.  
  4121.         * setjmp/_longjmp (_longjmp): Add __NORETURN.
  4122.     * setjmp/longjmp (longjmp): Likewise.
  4123.  
  4124. Thu Nov 18 04:16:34 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4125.  
  4126.     * string/strerror.c (strerror): Call _strerror_internal to do the
  4127.     work, passing it a scratch buffer.
  4128.     * stdio/perror.c: Likewise.
  4129.     * string/Makefile (routines): Add _strerror.
  4130.     * sysdeps/generic/_strerror.c (_strerror_internal): New file.
  4131.  
  4132.     * configure.in (config.status): Make it pass its args to configure.
  4133.  
  4134. Thu Nov 18 03:52:32 1993  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  4135.  
  4136.     * stdio/__vfscanf.c (__vfscanf): Put the floating point cases
  4137.     (e,E,f,g,G) inside #ifndef MIB_HACKS; roland thikgs strtod crashes
  4138.     the compiler.  Wheee.
  4139.  
  4140. Thu Nov 18 03:21:51 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4141.  
  4142.     * errno.h [__USE_GNU__]: Declare program_invocation_name and
  4143.     program_invocation_short_name.
  4144.  
  4145. Thu Nov 18 00:07:37 1993  Michael I. Bushnell  (mib at ernst.gnu.ai.mit.edu)
  4146.  
  4147.     * sysdeps/mach/hurd/start.c (start1): Don't add one to
  4148.     the return value of split_args; it counts them just fine by
  4149.     itself.  Do add one when sizing the arrays.
  4150.  
  4151. Mon Nov 15 00:19:48 1993  Noel Cragg  (noel@geech.gnu.ai.mit.edu)
  4152.  
  4153.     * time/mktime.c: add TIMES_THROUGH_SEARCH variable to make sure
  4154.     that we don't get caught in an infinite loop (would be bad,
  4155.     indeed, for a library routine).
  4156.  
  4157. Sun Nov 14 18:48:28 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4158.  
  4159.     * misc/sys/cdefs.h (__NORETURN, __CONSTVALUE): Use
  4160.     `__attribute__', not `__attributes__'.
  4161.     Test __GNUC_MINOR__ < 6, not < 5.
  4162.  
  4163. Wed Nov 10 05:39:15 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4164.  
  4165.     * sysdeps/unix/morecore.c: Only declare sbrk #ifdef __GNU_LIBRARY__.
  4166.     Cast its return value.
  4167.  
  4168.     * sysdeps/unix/bsd/m68k/syscall.S: Use movel in place of moveal.
  4169.  
  4170.     * configure.in (signed size_t check): Don't use AC_DEFINE; do it
  4171.     by hand and insert -U__SIZE_TYPE__ before -D.
  4172.  
  4173.     * posix/unistd.h: Declare syscall.
  4174.  
  4175.     * sysdeps/m68k/fpu/__math.h (__isnan, __isinf): Use __CONSTVALUE
  4176.     in prototypes.
  4177.  
  4178.     * configure.in (Makefile): Write ARCH=`pwd`, rather than
  4179.     substituting in the directory name at configure time.
  4180.  
  4181.     * sysdeps/mach/i386/syscall.S: New file.
  4182.  
  4183. Tue Nov  9 06:29:15 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4184.  
  4185.     * configure.in (os = netbsd* | 386bsd*): base_os=unix/bsd/bsd4.4.
  4186.     Set --with-gnu-{ld,as} implicitly when base_os is bsd4.4.
  4187.  
  4188.     * Version 1.06.7.
  4189.  
  4190.     * misc/Makefile (routines): Add syscall.
  4191.     * sysdeps/unix/syscall.S, sysdeps/stub/syscall.c,
  4192.     sysdeps/unix/bsd/sun/m68k/syscall.S, sysdeps/unix/bsd/m68k/syscall.S,
  4193.     sysdeps/unix/i386/syscall.S: New files.
  4194.     * sysdeps/unix/bsd/hp/m68k/sysdep.h (DO_CALL): First arg
  4195.     is syscall number, not name.
  4196.     (PSEUDO): Pass POUND (SYS_ify (syscall_name)) to DO_CALL.
  4197.     * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h (DO_CALL, PSEUDO):
  4198.     Likewise.  Also, do movel into d0 before linkw, so the argument
  4199.     could conceivably pop the stack.
  4200.     * sysdeps/unix/bsd/hp/m68k/__brk.S: Pass complete number to DO_CALL.
  4201.  
  4202.     * sysdeps/unix/sysv/Dist: sys_getdents.S was renamed s_getdents.S.
  4203.  
  4204. Thu Nov  4 01:23:59 1993  Michael I. Bushnell  (mib at ernst.gnu.ai.mit.edu)
  4205.  
  4206.     * string/stpncpy: Fix typo; according to gnu-stabs.h the name
  4207.     inside the DEFUN should be the *non* __ version.
  4208.     * sysdeps/generic/__stpncpy.c: Missing declaration of s.
  4209.  
  4210. Wed Nov  3 09:35:30 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4211.  
  4212.     * sysdeps/unix/Makefile ($(objpfx)errlist.c): Conditionalize these
  4213.     rules to be used only when errlist.c is otherwise a stub.
  4214.  
  4215. Fri Oct 29 17:29:20 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4216.  
  4217.     * string/stpncpy.c: New file.
  4218.     * sysdeps/generic/__stpncpy.c: New file.
  4219.     * string/Makefile (routines): Add stpncpy and __stpncpy.
  4220.     * string/string.h [__USE_GNU__]: Declare them.
  4221.  
  4222. Thu Oct 28 17:13:58 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4223.  
  4224.     * sysdeps/unix/errnos-tmpl.c (DO): If NAME is "EWOULDBLOCK",
  4225.     write "#define EWOULDBLOCK EAGAIN" and change NAME to
  4226.     "EWOULDBLOCK_sys".
  4227.     * sysdeps/unix/{i386,sysv/sysv4/solaris2,sysv/i386/linux,bsd/m68k,
  4228.     bsd/ultrix4/mips,bsd/vax}/sysdep.S [EWOULDBLOCK_sys]: Translate
  4229.     EWOULDBLOCK_sys into EAGAIN.
  4230.     * Makefile (distribute): Add move-if-change.
  4231.     * move-if-change: New file.
  4232.  
  4233. Tue Oct 26 18:19:34 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4234.  
  4235.     * misc/sys/cdefs.h: Define __NORETURN and __CONSTVALUE.
  4236.     For GCC 2.5 and later, use __attributes__ (({volatile,const})).
  4237.     * stdlib/stdlib.h: Don't define either here.
  4238.     * math/math.h: Likewise.
  4239.     * posix/unistd.h: Likewise.
  4240.     * time/time.h: Likewise.
  4241.     * stdio/stdio.h: Likewise.
  4242.     * setjmp/setjmp.h: Likewise.
  4243.  
  4244.     * posix/sys/wait.h (__WAIT_STATUS): Use union hack defn for GCC
  4245.     2.4 and up (testing __GNUC__ and __GNUC_MINOR__).
  4246.  
  4247.     * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Don't include <limits.h>.
  4248.  
  4249.     * Makerules [inhibit-sysdep-asm] 
  4250.     (open-check-inhibit-asm, close-check-inhibit-asm): New variables.
  4251.     ($(+sysdir_pfx)sysd-rules): Use them around .s and .S rules.
  4252.     Depend on existing sysdep makefiles.
  4253.  
  4254. Mon Oct 25 15:56:41 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4255.  
  4256.     * sysdeps/mach/hurd/killpg.c: Include <sys/types.h> for pid_t.
  4257.  
  4258.     * sysdeps/posix/tempname.c (__stdio_gen_tempname): Take new arg
  4259.     STREAMPTR.  When non-nil, use __open with O_EXCL to test for
  4260.     existence, and set *STREAMPTR to new stream on returned fd.
  4261.     * stdio/stdio.h: Update prototype.
  4262.     * sysdeps/stub/tempname.c: Here too.
  4263.     * stdio/tmpfile.c: Pass &F to __stdio_gen_tempname instead of
  4264.     using fopen.
  4265.     * stdio/tmpnam.c: Pass extra NULL arg.
  4266.     * stdio/tempnam.c: Likewise.
  4267.  
  4268.     * configure.in (switches): Only put --os-{release,version} here.
  4269.     (config.status): Write $configure_args in place of $config $switches.
  4270.  
  4271.     * signal/Makefile (routines): Renamed sigaltstack to sigaltstk.
  4272.     * sysdeps/stub/sigaltstack.c: Renamed to sigaltstk.c.
  4273.     * sysdeps/unix/bsd/bsd4.4/sigaltstack.S: Renamed to sigaltstk.S.
  4274.     * sysdeps/unix/sysv/sys_getdents.S: Renamed to s_getdents.S.
  4275.     * sysdeps/unix/sysv/Makefile (sysdep_routines): Changed reference.
  4276.  
  4277. Fri Oct 22 03:47:43 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4278.  
  4279.     * malloc/realloc.c [MEMMOVE_MISSING]: Test this to use safe_bcopy.
  4280.     [emacs]: Don't define safe_bcopy.
  4281.  
  4282.     * time/zdump.c, time/europe: New versions from ADO.
  4283.  
  4284.     * Rules (dont_distribute): Export this variable.
  4285.     (subdir_echo-distinfo): Echo its value for +nodist+.
  4286.  
  4287. Thu Oct 21 15:58:08 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4288.  
  4289.     * sysdeps/posix/__dup2.c: Include <limits.h>.
  4290.     [OPEN_MAX]: Fail with EBADF if FD2>=OPEN_MAX.
  4291.  
  4292.     * sysdeps/unix/Makefile (sys/param.h): Conditionalize all this
  4293.     code to happen only when there is no sysdep sys/param.h.
  4294.  
  4295. Wed Oct 20 03:35:41 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4296.  
  4297.     * Makerules (make-dummy-dep): Change to `ln $(objpfx)dummy.dep $@'.
  4298.     ($(objpfx)dummy.dep): Create new file containing comment.
  4299.     ($(objpfx)%.dep: $(objpfx)%.s): Depend on $(objpfx)dummy.dep.
  4300.     ($(+sysdir_pfx)sysd-rules): Likewise in generated rule.
  4301.  
  4302. Mon Oct 18 04:22:42 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4303.  
  4304.     * signal/signal.h (killpg): Make PGRP arg pid_t.
  4305.     * sysdeps/posix/killpg.c (killpg): Likewise.
  4306.     * sysdeps/stub/killpg.c (killpg): Here too.
  4307.  
  4308.     * posix/glob/configure.in: Use AC_HAVE_HEADERS instead of
  4309.     AC_MEMORY_H and AC_UNISTD_H; omit AC_USG (not needed).
  4310.  
  4311.     * Rules (generated): New target.
  4312.  
  4313.     * Makefile (subdirs): Use filters to put mach and hurd first in
  4314.     the list if they are in it at all.
  4315.     * Makerules (before-compile): Reorder similarly, matching any
  4316.     generated mach or hurd files.
  4317.  
  4318. Fri Oct 15 17:57:58 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4319.  
  4320.     * sysdeps/posix/mk-stdiolim.c [! OPEN_MAX]: Use _POSIX_OPEN_MAX
  4321.     for FOPEN_MAX value.
  4322.     [! PATH_MAX]: Use 1024 (twice _POSIX_PATH_MAX) for FILENAME_MAX value.
  4323.  
  4324.     * Makerules (in-Makerules): Define this variable before including
  4325.     sysd-Makefile.
  4326.  
  4327. Sun Oct 10 14:31:35 1993  Jim Meyering  (meyering@comco.com)
  4328.  
  4329.     * posix/fnmatch.c [CONFIG_BROKETS]: Include <config.h> only under
  4330.     this condition, else "config.h".
  4331.  
  4332. Tue Oct 05 16:08:39 1993  Jim Meyering  (meyering@comco.com)
  4333.  
  4334.     * time/mktime.c [CONFIG_BROKETS]: Include <config.h> only under
  4335.     this condition, else "config.h".
  4336.  
  4337. Thu Sep 23 15:14:08 1993  Brendan Kehoe  (brendan@zen.org)
  4338.  
  4339.     * sysdeps/unix/sysv/sysv4/__dup2.c: New file.
  4340.  
  4341. Wed Sep 22 16:58:29 1993  Brendan Kehoe  (brendan@zen.org)
  4342.  
  4343.     * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: New file.
  4344.     * sysdeps/unix/sysv/sysv4/i386: New directory.
  4345.     * sysdeps/unix/sysv/sysv4/i386/statbuf.h: New file.
  4346.  
  4347. Fri Sep 17 04:03:26 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4348.  
  4349.     * Makerules (+make-deps): Put output in temp file and use atomic mv.
  4350.  
  4351.     * Makerules ($(+sysdir_pfx)sysd-rules): New target, the rule part
  4352.     of what was in sysd-Makefile.  Include it.
  4353.     ($(+sysdir_pfx)sysd-Makefile): Do just includes here.  Move the
  4354.     generated implicit rules to sysd-rules.  Put the output into a
  4355.     temp file and use atomic mv to final target.
  4356.     (before-compile): Filter out existing files from value, after
  4357.     sysd-Makefile but before sysd-rules.
  4358.  
  4359. Thu Sep  9 22:28:13 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4360.  
  4361.     * Makefile (%/configure): Copy rule from Make-dist.
  4362.  
  4363. Mon Sep  6 19:57:43 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4364.  
  4365.     * Makerules (sources, objects): Move override definitions to
  4366.     before +depfiles calculation.
  4367.  
  4368.     * time/{asia,australasia,europe,zdump.c}: New versions from ADO (93e).
  4369.  
  4370. Mon Aug 30 13:40:34 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4371.  
  4372.     * string/string.h (memmem): Reverse argument order, to be like strstr.
  4373.     * sysdeps/generic/memmem.c: Here too.
  4374.  
  4375.     * dirent/scandir.c: For error return, save errno around closedir.
  4376.     Call closedir (DP) before returning successfully.
  4377.  
  4378. Thu Aug 26 19:26:06 1993  Brendan Kehoe  (brendan@zen.org)
  4379.  
  4380.     * sysdeps/unix/sysv/sysv4/solaris2/sysdep.h: Rewritten to not use
  4381.     the generic sparc sysdep.h.
  4382.     (PSEUDO): Use trap 8, not 0. Also just put %g0 in %o0, without
  4383.     subtracting 1.
  4384.     (ENTRY): Align on 4, and add a `.type' directive.
  4385.     * sysdeps/unix/sysv/sysv4/solaris2/sysdep.S: New file.
  4386.  
  4387. Fri Aug 20 19:37:55 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4388.  
  4389.     * sysdeps/generic/abort.c: Remove unused variable ABORTING.
  4390.  
  4391. Thu Aug 19 17:45:34 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4392.  
  4393.     * Makeconfig [!objdir] [!..] (common-objdir): Set to `.'.
  4394.  
  4395. Wed Aug 18 15:10:13 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4396.  
  4397.     * stdio/__vfscanf.c (__vfscanf: number): Reverse sense of
  4398.     NUMBER_SIGNED conditional in assignment code.
  4399.  
  4400. Mon Aug 16 15:49:13 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4401.  
  4402.     * sysdeps/unix/Makefile (syscall.h): Add sed
  4403.     s/SYS_syscall_basenum/syscall_basenum/g.  SYSCALL_BASENUM is a
  4404.     macro both defined and used in <syscall.h>; we must undo our
  4405.     prependation of `SYS_'.
  4406.  
  4407.     * Version 1.06.6.
  4408.  
  4409. Fri Aug 13 16:53:02 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4410.  
  4411.     * stdio/__vfscanf.c: New local variable NUMBER_SIGNED.
  4412.     (%x, %X, %o, %u): Set it to zero.
  4413.     (%d, %i): Set it to one.
  4414.     (number): If NUMBER_SIGNED is set, use strtol and store in ...int*.
  4415.     If clear, use strtoul an store value in unsigned ...int*.
  4416.  
  4417.     * malloc/malloc.h: Undo last change (_AIX32).
  4418.     (memory_warnings): Use const instead of __const in prototype.
  4419.  
  4420. Fri Aug 13 00:22:01 1993  John Grabowski  (johng@whiskey.media.mit.edu)
  4421.  
  4422.     * configure.in (os = osf1*): base_os=unix/bsd.
  4423.  
  4424. Thu Aug 12 16:37:13 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4425.  
  4426.     * malloc/valloc.c [__GNU_LIBRARY__ || _LIBC]: Include <stddef.h>
  4427.     before trying to use size_t to declare __getpagesize.
  4428.     Include <sys/cdefs.h> before trying to use __P.
  4429.  
  4430.     * posix/{fnmatch,glob}.c, malloc/malloc.h [HAVE_CONFIG_H]: Include
  4431.     <config.h> instead of "config.h".  This is so that a compilation
  4432.     using -I. -I$srcdir will use ./config.h rather than
  4433.     $srcdir/config.h (which it would do when glob.c was found in $srcdir).
  4434.  
  4435.     * malloc/malloc.h [_AIX32]: Use !__STDC__ defns of __P, const, __ptr_t.
  4436.  
  4437. Mon Aug  9 16:56:31 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4438.  
  4439.     * Makerules (-e check): Don't rely on $(findstring e,$(MAKEFLAGS))
  4440.     since that also trips for --no-print-directory.
  4441.     Instead actually see if -e's functionality is taking place.
  4442.  
  4443.     * malloc/realloc.c: Call _free_internal instead of free in most places.
  4444.  
  4445.     * configure.in (arg parsing): No spaces around = in eval.
  4446.  
  4447.     * sysdeps/i386/abort.c: New file.
  4448.     * stdlib/abort.c: Moved to sysdeps/generic/abort.c.
  4449.     (abort): Don't try to do stdio cleanup, since we can't guarantee
  4450.     it anyway.
  4451.  
  4452. Fri Aug  6 17:59:56 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4453.  
  4454.     * Makerules ($(+install)): Don't depend on installdirs.
  4455.     (make-target-directory): New define.
  4456.     (do-install): Do $(make-target-directory) beforehand.
  4457.  
  4458. Tue Aug  3 02:22:41 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4459.  
  4460.     * sysdeps/stub/sys/reboot.h: New file.
  4461.     * sysdeps/unix/bsd/sys/reboot.h: New file, snarfed from 4.4.
  4462.     * misc/Makefile (headers): Add sys/reboot.h.
  4463.  
  4464.     * stdio/stdio.h (__io_{read,write,seek,close,fileno}): Renamed to
  4465.     __io_*_fn, so as not to conflict with the Hurd mig stubs.
  4466.     * internals.c: Changed uses.
  4467.  
  4468.     * sysdeps/unix/bsd/signum.h (SIGINFO): Define as 29.
  4469.  
  4470.     * Makerules (+includes): Don't set this here.
  4471.     * Makeconfig (+includes): Put $(+sysdep-includes) in the value here.
  4472.  
  4473.     * posix/unistd.h [__USE_MISC]: Declare mktemp and mkstemp.
  4474.  
  4475. Mon Aug  2 16:59:12 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4476.  
  4477.     * malloc/valloc.c: Move getpagesize goop to before malloc.h.
  4478.     [_LIBC]: Test this as well as __GNU_LIBRARY__ (either one) to use
  4479.     __getpagesize instead of "getpagesize.h".
  4480.  
  4481. Sun Aug  1 16:55:18 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4482.  
  4483.     * configure.in (arg parsing): For `--with-foo=bar', do
  4484.     "with_foo='bar'".  For `--with-fnord', do "with_fnord=yes".
  4485.     * sysdeps/mach/configure: New file, groks `--with-mach=DIR'.
  4486.  
  4487. Fri Jul 30 00:01:00 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4488.  
  4489.     * configure.in (os = gnu*): Set $base_os, not $os, to mach/hurd.
  4490.  
  4491. Thu Jul 29 17:46:02 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4492.  
  4493.     * ctype/ctype.h (__isctype): Don't test !=0, to avoid possible
  4494.     extra test insn.
  4495.  
  4496. Sun Jul 25 22:19:04 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4497.  
  4498.     * setjmp/setjmp.h [! __FAVOR_BSD] (_longjmp): Define as longjmp.
  4499.  
  4500. Thu Jul 22 14:57:15 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4501.  
  4502.     * sysdeps/unix/bsd/osf1/sigaction.h: New file.
  4503.  
  4504.     * sysdeps/stub/signum.h: Deansideclized.
  4505.     * sysdeps/stub/pipestream.c (pclose): Test STREAM->__ispipe
  4506.     instead of __ispipe (STREAM).
  4507.     * sysdeps/stub/__wait3.c: Fix arg types.
  4508.     * sysdeps/stub/__ioctl.c: Add missing close paren.
  4509.     * sysdeps/stub/__getpgsz.c: Include <stddef.h> for size_t.
  4510.     * sysdeps/stub/__get[gu]id.c: Include <sys/types.h>; fix return type.
  4511.     * sysdeps/stub/__set[gu]id.c: Include <sys/types.h>; fix arg type.
  4512.     * sysdeps/stub/__mknod.c: Include <sys/types.h>; fix arg types.
  4513.  
  4514.     * sysdeps/generic/termbits.h (INLCR, ISTRIP): Fixed typo'd values.
  4515.  
  4516.     * stdio/stdio.h (vprintf): Fix last arg type to __gnuc_va_list.
  4517.     * stdio/vprintf.c (vprintf): Here too.
  4518.  
  4519.     * malloc/malloc.c (malloc) [SUNOS_LOCALTIME_BUG]: Put this crap
  4520.     after hook and initialization.
  4521.  
  4522.     * stdio/stdio.h (__validfp): Use a little anonymous struct to find
  4523.     the real stream ptr from in glue stream.  It used to rely on using
  4524.     `((int *) STREAM)[1]'; but that assumes no struct padding, and
  4525.     there will be some when int is 32 bits and pointers are 64.
  4526.  
  4527.     * malloc/mtrace.c: Use %lx instead of %x for `size_t' formats.
  4528.  
  4529. Wed Jul 21 18:20:41 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4530.  
  4531.     * malloc/malloc.c (malloc): Handle SUNOS_LOCALTIME_BUG.
  4532.  
  4533. Wed Jul 21 16:42:14 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4534.  
  4535.     * time/Makefile (extra-objs): Remove gratuitous - in `z.%'.
  4536.  
  4537.     * Makefile [+gnu-stabs] (generated): Add $(objpfx)munch-init.c.
  4538.     (distclean): Also remove sysd-Makefile and sysd-dirs in $(objpfx).
  4539.     (distclean) [objdir]: Also remove $(objpfx)Makefile.
  4540.  
  4541.     * sysdeps/posix/Makefile (generated): Add $(common-objpfx)mk-stdiolim.
  4542.     (generated, before-compile): Take defns out of ifeq ($(subdir),posix).
  4543.  
  4544.     * sysdeps/unix/common/Makefile (generated): Include ctype-glue.c,
  4545.     not glue-ctype.c.
  4546.  
  4547.     * sysdeps/unix/configure (unix_generated): New variable; collect
  4548.     names of created files in it.
  4549.     (config_vars): Write an assignment for `unix-generated' to that list.
  4550.     * sysdeps/unix/Makefile (generated): Append $(unix-generated)
  4551.     (with either $(objpfx) or $(sysdep_dir)/unix/ prepended to each file).
  4552.  
  4553.     * Makefile (clean): Pass no_deps=t to subdir_clean make.
  4554.  
  4555. Sun Jul 18 21:42:05 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4556.  
  4557.     * malloc/malloc.c (malloc): After getting more core, recompute
  4558.     BLOCK before adding to _heapinfo[BLOCK].free.size.
  4559.  
  4560. Fri Jul 16 16:32:40 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4561.  
  4562.     * stdlib/Makefile (generated): Prepend $(objpfx).
  4563.     * sysdeps/unix/sysv/Makefile (generated): Likewise.
  4564.  
  4565.     * sysdeps/posix/mktemp.c: Return when stat fails with ENOENT, not
  4566.     when it succeeds.
  4567.  
  4568. Wed Jul 14 14:51:43 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4569.  
  4570.     * locale/localeconv.c: Fix copying notice to LGPL.
  4571.  
  4572. Mon Jul 12 21:58:27 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4573.  
  4574.     * malloc/mcheck.c (reallochook): Set HDR->magic to MAGICWORD.
  4575.  
  4576. Mon Jul  5 15:55:08 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4577.  
  4578.     * malloc/realloc.c (memmove): Swap the args when calling safe_bcopy.
  4579.  
  4580. Thu Jul  1 16:26:56 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4581.  
  4582.     * malloc/malloc.c [_LIBC] (_malloc, _free, _realloc): Define these
  4583.     functions to just call malloc, free, and realloc, respectively.
  4584.  
  4585. Wed Jun 30 16:42:10 1993  Torbjorn Granlund  (tege@gnu.ai.mit.edu)
  4586.  
  4587.     * sysdeps/generic/memcmp.c (memcmp_bytes): New function for
  4588.     little endian machines.
  4589.     (memcmp_common_alignment, memcmp_not_common_alignment): Rework
  4590.     code computing return values.
  4591.  
  4592. Wed Jun 30 14:42:00 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4593.  
  4594.     * sysdeps/unix/Makefile (local_lim.h): Only generate local_lim.h
  4595.     if the sysdep version would be stub.
  4596.  
  4597.     * sysdeps/unix/mk-local_lim.c: #include <stdio.h> before all else.
  4598.  
  4599.     * configure.in (config_{machine,vendor,os}): Store config.sub's
  4600.     output in these new variables.
  4601.     (machine, vendor, os): Set these from those.
  4602.     (config-name.h, config.make): Write $config_* (the original values
  4603.     from config.sub).
  4604.  
  4605.     * sysdeps/unix/sysv/sysv4/pgrpsys.S: Add arg count (3).
  4606.  
  4607. Tue Jun 29 02:47:46 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4608.  
  4609.     * Version 1.06.4.
  4610.  
  4611. Mon Jun 28 00:37:12 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4612.  
  4613.     * stdio/internals.c (__stdio_check_funcs): New function, broken out
  4614.     of init_stream.
  4615.     (init_stream): Call it.
  4616.     * sysdeps/posix/pipestream.c (popen): Call __stdio_check_funcs
  4617.     before frobnicating STREAM's functions.
  4618.  
  4619.     * sysdeps/posix/pipestream.c (pclose): Free C, our data structure,
  4620.     not STREAM->__cookie after it's been restored.
  4621.  
  4622.     * sysdeps/generic/strchr.c: Check for '\0' as well as C, in initial
  4623.     byte-by-byte loop.
  4624.  
  4625.     * conf/portability.h: #undef BSD.
  4626.  
  4627. Sun Jun 27 23:46:05 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4628.  
  4629.     * sysdeps/unix/bsd/m68k/__wait.S [__motorola__]: Use Motorola syntax.
  4630.     * sysdeps/unix/bsd/m68k/sysdep.S: Likewise.
  4631.     * sysdeps/unix/bsd/m68k/__pipe.S: Likewise.
  4632.     * sysdeps/m68k/__longjmp.c (__longjmp) [__motorola__]: Use
  4633.     Motorola syntax in jmp insn.
  4634.  
  4635. Fri Jun 25 16:17:07 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4636.  
  4637.     * sysdeps/{stub,posix,unix/sysv/sysv4}/__sysconf.c (__sysconf):
  4638.     For _SC_TZNAME_MAX, just return __tzname_max ().
  4639.     * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Define __sysconf, not
  4640.     sysconf.  For _SC_TZNAME_MAX, just jump to __tzname_max.
  4641.  
  4642.     Undo June 21 change that made __tzname_max a variable
  4643.     and expected TZNAME_MAX to sometimes be defined.
  4644.     POSIX.1 does not require that it be defined; sysconf is enough.
  4645.     * time/time.h (__tzname_max): Declare as a function.
  4646.     * posix/posix1_lim.h: Don't include <tzname_max.h>.
  4647.     * sysdeps/stub/tzname_max.h: File removed.
  4648.     * time/Makefile (headers): Remove tzname_max.h.
  4649.     (distribute): Remove make-tzlim.c.
  4650.     (extra-objs): Remove make-tzlim.o and make-tzlim.
  4651.     ($(common-objpfx)tzname_max.h): Target removed.
  4652.     * time/make-tzlim.c: File removed.
  4653.     * time/__tzset.c (__tzname_cur_max): Define this variable instead
  4654.     of __tzname_max.
  4655.     (__tz_compute): Set __tzname_cur_max, not __tzname_max.
  4656.     (__tzname_max): New function.
  4657.     * time/tzfile.c (compute_tzname_max): Set __tzname_cur_max, not
  4658.     __tzname_max.
  4659.  
  4660.     * malloc/malloc.h [_MALLOC_INTERNAL] [! (_LIBC || STDC_HEADERS || USG)]
  4661.     (memmove): Don't define.
  4662.     * malloc/realloc.c [!_LIBC && !STDC_HEADERS && !USG] (safe_bcopy):
  4663.     New static function.
  4664.     (memmove): Define to safe_bcopy.
  4665.  
  4666. Wed Jun 23 15:10:51 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4667.  
  4668.     * sysdeps/unix/sysv/sco3.2.4/pgrpsys.S: New file, #include sysv4 file.
  4669.     * sysdeps/unix/sysv/sco3.2.4/Dist: New file, list pgrpsys.S.
  4670.  
  4671. Tue Jun 22 02:44:16 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4672.  
  4673.     * sysdeps/unix/sysv/sco3.2.4/Makefile (sysdep_routines): Use
  4674.     pgrpsys instead of sco_pgrp.
  4675.     * sysdeps/unix/sysv/sco3.2.4/{Dist,sco_pgrp.S}: Files removed.
  4676.     * sysdeps/unix/sysv/sco3.2.4/__{getpgrp,setpgrp,setsid}.c: Just
  4677.     include the respective unix/sysv/sysv4 files.
  4678.  
  4679.     * sysdeps/unix/sysv/sysv4/pgrpsys.S: New file.
  4680.     * sysdeps/unix/sysv/sysv4/__getpgrp.c: New file.
  4681.     * sysdeps/unix/sysv/sysv4/__setpgrp.c: New file.
  4682.     * sysdeps/unix/sysv/sysv4/__setsid.c: New file.
  4683.     * sysdeps/unix/sysv/sysv4/Dist: Add pgrpsys.S.
  4684.     * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Add pgrpsys.
  4685.  
  4686.     * sysdeps/unix/bsd/bsd4.4/__setsid.S: Moved from unix/sysv/sysv4.
  4687.     * sysdeps/unix/{bsd/sun/sunos4,bsd/ultrix4,sysv/linux}/__setsid.S:
  4688.     Include bsd4.4 instead of sysv4 file.
  4689.  
  4690. Mon Jun 21 19:08:04 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4691.  
  4692.     * posix/posix1_lim.h: #include <tzname_max.h>.
  4693.     * sysdeps/stub/tzname_max.h: New file (no-op).
  4694.     * time/make-tzlim.c: New file.
  4695.     * time/Makefile (headers): Add tzname_max.h.
  4696.     (distribute): Add make-tzlim.c.
  4697.     (extra-objs): Add make-tzlim.o and make-tzlim.
  4698.     ($(common-objpfx)tzname_max.h): New target.
  4699.  
  4700.     * sysdeps/unix/sysv/sco3.2.4/confname.h (_SC_TZNAME_MAX): Define.
  4701.     * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Detect arg being
  4702.     _SC_TZNAME_MAX, and return max of TZNAME_MAX and __tzname_max.
  4703.  
  4704.     * sysdeps/stub/__sysconf.c: Include <time.h> and <limits.h>.
  4705.     Handle _SC_TZNAME_MAX and return max of TZNAME_MAX and __tzname_max.
  4706.     * sysdeps/posix/__sysconf.c: Change _SC_TZNAME_MAX code to that.
  4707.     * sysdeps/unix/sysv/sysv4/__sysconf.c: Likewise.
  4708.  
  4709.     * time/time.h (__tzname_max): Declare as variable, not function.
  4710.     * time/__tzset.c (__tzname_max): Function removed.
  4711.     (__tz_compute): Set the __tzname_max variable.
  4712.     * time/tzfile.c (compute_tzname_max): New function.
  4713.     (__tzfile_{read,default}): Call it.
  4714.  
  4715. Sun Jun 20 18:32:49 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4716.  
  4717.     * time/zic.c, time/asia: New versions from ADO.
  4718.  
  4719. Wed Jun 16 17:24:28 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4720.  
  4721.     * Version 1.06.3.
  4722.  
  4723. Fri Jun 11 15:44:53 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4724.  
  4725.     * sysdeps/unix/bsd/m68k/__pipe.S: Use `movel' instead of `moveal',
  4726.     which sun3 as does not appear to grok.
  4727.     * sysdeps/unix/bsd/sun/m68k/__vfork.S: Likewise.
  4728.  
  4729. Thu Jun 10 20:23:43 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4730.  
  4731.     * sysdeps/m68k/Makefile (as-pipe-ok): Define if -pipe is used in
  4732.     compiler invocations, or if using GNU as.
  4733.     (compile-command.S): Define using a pipe if `as-pipe-ok' is defined,
  4734.     otherwise with a temporary file.
  4735.  
  4736.     * Makeconfig (gnu-as): Define if -DHAVE_GNU_AS appears in $(CPPFLAGS).
  4737.  
  4738. Wed Jun  9 15:14:43 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4739.  
  4740.     * configure.in (os frobnication): Turn underscores as well as
  4741.     lowercase Vs into dots in os name.
  4742.  
  4743.     * sysdeps/unix/start.c [__GNUC__] (_start): Use asm name "start"
  4744.     only if [! NO_UNDERSCORES].
  4745.  
  4746. Tue Jun  8 14:51:00 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
  4747.  
  4748.     * sysdeps/unix/bsd/ultrix4/mips/__handler.S: Don't save the stack
  4749.     pointer.
  4750.  
  4751. Mon Jun  7 21:01:24 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4752.  
  4753.     * time/Makefile (tzcompile): Remove -d switch, since zic-cmd has one.
  4754.  
  4755.     * time/{private.h,zic.c}: New versions from ADO.
  4756.  
  4757.     * sysdeps/unix/bsd/hp/m68k/__brk.S (error): Renamed label from `1',
  4758.     (__brk): Use DO_CALL instead of movel and trap.
  4759.  
  4760.     * sysdeps/unix/bsd/sony/newsos4: Renamed sysdeps/unix/bsd/sony/newsos.
  4761.     * sysdeps/unix/bsd/sony/m68k/{Implies,sysdep.h}: Moved there.
  4762.  
  4763.     * sysdeps/unix/bsd/hp/m68k/sysdep.h (DO_CALL): New macro, broken
  4764.     out of PSEUDO.
  4765.     (PSEUDO): Use it.
  4766.     * sysdeps/unix/bsd/sony/newsos4/m68k/sysdep.h
  4767.     (DO_CALL, PSEUDO): Likewise.
  4768.  
  4769.     * configure.in: Set --with-gnu-{ld,as} for os=bsd4.4.
  4770.  
  4771. Fri Jun  4 14:11:00 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4772.  
  4773.     * sysdeps/i386/{strlen,memchr}.c: Use `repnz' instead of `repne'.
  4774.  
  4775.     * time/Makefile (zonenames): Rename zones-* to z.* so they all fit
  4776.     in 14 chars.
  4777.     (extra-objs): Here too.
  4778.  
  4779.     * sysdeps/unix/sysv/direct.h (D_RECLEN): New macro.
  4780.     * sysdeps/unix/readdir.c (D_RECLEN): If not defined, define to use
  4781.     `d_reclen' member.
  4782.     (readdir): Use D_RECLEN (DP) in place of DP->d_reclen.
  4783.  
  4784. Thu Jun  3 16:54:29 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4785.  
  4786.     * sysdeps/m68k/bytesex.h: New file.
  4787.  
  4788.     * sysdeps/unix/ioctls-tmpl.c [sony_news]: Define KANJI before
  4789.     including <sys/ioctl.h>.
  4790.  
  4791. Wed Jun  2 17:45:38 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4792.  
  4793.     * malloc/Makefile (%.gz): Renamed target from %.z; use -v flag.
  4794.     (malloc/ChangeLog): Use mv -f.
  4795.  
  4796. Mon May 31 21:49:04 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4797.  
  4798.     * Version 1.06.2 released.
  4799.  
  4800.     * manual/Makefile: Remove all uses of $(objpfx).  Since the
  4801.     generated files are distributed, they reside in the source
  4802.     directory.
  4803.  
  4804.     * malloc/mtrace.c: #include <stdio.h>; malloc.h no longer does.
  4805.  
  4806.     * sysdeps/posix/sleep.c: Restore signal mask to OSET before
  4807.     returning.  Save errno on entry and restore it before returning.
  4808.  
  4809.     * Makeconfig (zonedir): New variable.
  4810.     * time/Makefile (localtime-file, posixrules-file, install-others,
  4811.     $(localtime-file), $(posixrules-file), tz-cc): Use $(zonedir) in
  4812.     place of $(datadir)/zoneinfo.
  4813.     (tzcompile): Omit -d switch.
  4814.     (zic-cmd): Add `-d $(zonedir)'.
  4815.  
  4816. Sun May 30 20:04:50 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4817.  
  4818.     * sysdeps/posix/stdio_init.c: (int)cookie is FD, not *(int*)cookie. 
  4819.  
  4820.     * time/Makefile ($({localtime,posixrules}-file)): Don't pass -d
  4821.     switch (no need, since directory is compiled into zic).  Don't use
  4822.     $(<F) to find arg for -{l,p}; just use $({localtime,posixrules}).
  4823.  
  4824.     * Makerules ($(libdir)/libc.a): Depend on installdirs.
  4825.  
  4826.     * malloc/malloc.c (malloc): #if 0 out ``if (SIZE == 0) return NULL''.
  4827.  
  4828.     * malloc/malloc.h [_MALLOC_INTERNAL]: Don't include <stdio.h>.
  4829.     [_MALLOC_INTERNAL]: Move config.h, limits.h, and mem* to front of file.
  4830.     (NULL): Move after stddef.h.
  4831.  
  4832.     * malloc/valloc.c: Don't include config.h; malloc.h already did.
  4833.  
  4834.     * malloc/malloc.c: Undo rms's change.
  4835.  
  4836.     * malloc/mcheck.c, malloc/malloc.h: Undo rms's change.
  4837.  
  4838. Sat May 29 13:04:38 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4839.  
  4840.     * malloc/malloc.c (malloc) [emacs]: If size is 0, make it 1.
  4841.  
  4842.     * malloc/malloc.h (CONST): Define this always,
  4843.     rather than `const' sometimes.
  4844.     (memory_warnings): Use CONST, not __const, in decl.
  4845.     * malloc/mcheck.c (checkhdr): Use CONST, not const.
  4846.  
  4847. Fri May 28 18:29:26 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4848.  
  4849.     * sysdeps/unix/Makefile (ioctls): Use fgrep instead of egrep to
  4850.     omit unwanted symbols.  Filter the list of them through sort|uniq
  4851.     to remove duplicates first.
  4852.  
  4853.     * sysdeps/unix/Makefile (errlist.c): Use dir and notdir
  4854.     functions to guarantee qualified path name for make_errlist.
  4855.  
  4856. Thu May 27 17:05:04 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4857.  
  4858.     * Version 1.06.1.
  4859.  
  4860.     * sysdeps/sparc/Dist: Include sdiv.S, not div.S.
  4861.  
  4862.     * sysdeps/unix/common/Dist: Remove make_siglist.c.
  4863.  
  4864.     * stdio/internals.c: Declare __stdio_fileno before reference.
  4865.  
  4866.     * sysdeps/generic/{memchr,strchr,strlen}.c: Abort if words are
  4867.     bigger than 64 bits.
  4868.  
  4869. Wed May 26 14:44:19 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4870.  
  4871.     * Makerules [objects] (install-others): Don't add libc.a to this.
  4872.     (install): Depend on $(libdir)/libc.a.
  4873.     (intall-no-libc.a): New target, depends on $(+install).
  4874.     (install): Don't depend on $(+install), just on install-no-libc.a.
  4875.     * Rules (subdir_install): Depend on install-no-libc.a, not install.
  4876.  
  4877.     * Makefile ($(libc.a)): Don't depend on subdir_lib.
  4878.     (lib-noranlib): Depend on subdir_lib.
  4879.  
  4880.     Make `fileno' a per-FILE io operation.
  4881.     * stdio/stdio.h (__io_fileno): New typedef.
  4882.     (__io_functions): Add `__fileno' member.
  4883.     (struct __stdio_file): Remove `__fileno' member.
  4884.     [__USE_POSIX] [__OPTIMIZE__]: Remove fileno macro defn.
  4885.     [__USE_POSIX] (fileno): Remove `const' from arg in prototype.
  4886.     * stdio/fileno.c (fileno): Rewritten to call STREAM's __fileno fn.
  4887.     * sysdeps/stub/sysd-stdio.c (__stdio_fileno): New function.
  4888.     (__stdio_open): Return an int (zero for win, nonzero for lose),
  4889.     and make third arg PTR * (filled in with cookie).
  4890.     * stdio/stdio.h (__stdio_open): Changed prototype.
  4891.     * sysdeps/posix/sysd-stdio.c (__stdio_open): Likewise.
  4892.     (__stdio_{read,write,seek,close}): Use (int) COOKIE as the fd, rather
  4893.     than *(int *) COOKIE.
  4894.     (__stdio_fileno): New function; just returns (int) COOKIE.
  4895.     * sysdeps/posix/fdopen.c: Set cookie to (PTR) FD; don't set fileno.
  4896.     * stdio/vdprintf.c: Likewise.
  4897.     * stdio/fmemopen.c: Set STREAM->__io_funcs.__fileno to NULL.
  4898.     Set STREAM->__cookie to NULL and don't use STREAM->__fileno.
  4899.     * stdio/internals.c (__default_io_functions): Add __stdio_fileno.
  4900.     * sysdeps/posix/defs.c (stdstream): Initialize __cookie to (PTR) FD
  4901.     Remove __fileno initializer.
  4902.     Add NULL initializer for __io_funcs.__fileno.
  4903.     * sysdeps/posix/pipestream.c (struct child): Remove `fd' member.
  4904.     Add `cookie' and `funcs' members.
  4905.     (FUNC): Macro to define child io_funcs.
  4906.     (child_funcs): New variable, __io_functions struct of them.
  4907.     (popen): Store STREAM's original cookie and io_funcs in CHILD, and
  4908.     then set STREAM->__cookie to CHILD and stream->__io_funcs to
  4909.     child_funcs.
  4910.     (pclose): Restore STREAM's original cookie and io_funcs before
  4911.     calling fclose.
  4912.  
  4913.     * configure.in (autoconf checks): Add new check for a
  4914.     libc-friendly stddef.h.
  4915.  
  4916.     * sysdeps/unix/configure: Remove __getpgrp from list of syscalls.
  4917.  
  4918.     * sysdeps/generic/memchr.c: Handle 64-bit longwords.
  4919.     * sysdeps/generic/strlen.c: Likewise.
  4920.     * sysdeps/generic/strchr.c: Likewise.
  4921.  
  4922.     * sysdeps/unix/sysv/sco3.2.4/Makefile: Remove gratuitous `.c'.
  4923.  
  4924.     * Makerules [objects] (install-others): Add $(libdir)/libc.a to
  4925.     this, instead of adding $(libc.a) to install-lib.
  4926.     ($(libdir)/libc.a): New target to install from $(libc.a).
  4927.  
  4928.     * sysdeps/unix/sysv/sco3.2.4/__setsid.S: New file.
  4929.     * sysdeps/unix/bsd/bsd4.4/__setsid.S: New file.
  4930.  
  4931. Mon May 24 16:49:54 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4932.  
  4933.     * sysdeps/unix/sysv/linux/__setsid.S: Moved to unix/sysv/sysv4,
  4934.     and replaced with #include of that.
  4935.     * sysdeps/unix/bsd/sun/sunos4/__setsid.S: New file.
  4936.     * sysdeps/unix/bsd/ultrix4/__setsid.S: New file.
  4937.  
  4938.     * posix/Makefile (install): Define to getconf.
  4939.  
  4940.     * crypt: New version from glad.
  4941.  
  4942.     * sysdeps/unix/sysv/sysv4/__sysconfig.S: Renamed to sysconfig.S.
  4943.     * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Change reference.
  4944.     * sysdeps/unix/sysv/sysv4/Dist: Add sysconfig.S.
  4945.  
  4946.     * sysdeps/generic/Makefile (siglist.c): Use dir and notdir
  4947.     functions to guarantee qualified path name for make_siglist.
  4948.  
  4949.     * time/Makefile (tzcompile): Use $(@D) for target directory, not
  4950.     reference to nonexistent 4th dep.
  4951.     (localtime-file, posixrules-file): Turn these into absolute names.
  4952.     (install-others): Simply refer to them.
  4953.     ($(datadir)/zoneinfo/{localtime,posixrules}): Change targets of
  4954.     these rules to $(localtime-file) and $(posixrules-file), respectively.
  4955.     Use $(<D) for directory to pass zic.
  4956.  
  4957.     * Makerules (installdirs): Use `sort' function to uniquize list of
  4958.     directories. 
  4959.  
  4960.     * time/Makefile (install-others): Use $(datadir)/zoneinfo, not
  4961.     $(datadir)zoneinfo (missing /).
  4962.  
  4963.     * Makerules (install-lib): Refer to `$(libc.a)' instead of `libc.a'.
  4964.  
  4965.     * setjmp/sigjmp_save.c: Renamed to sigjmp.c.
  4966.     * setjmp/Makefile (routines): Change reference.
  4967.  
  4968.     * sysdeps/unix/common/Makefile (siglist.c, make_siglist): Targets
  4969.     removed.
  4970.     * sysdeps/unix/common/make_siglist.c: File removed.
  4971.  
  4972. Sun May 23 01:00:00 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4973.  
  4974.     * manual/Makefile (minimal-dist): Remove COPYING.LIB.
  4975.     (doc-only-dist): Put it here.
  4976.  
  4977. Sun May 23 00:12:24 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4978.  
  4979.     * Version 1.06 released.
  4980.  
  4981.     * sysdeps/sparc/Dist: Add {u,}{div,rem}.S.
  4982.  
  4983. Sat May 22 18:17:08 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4984.  
  4985.     * sysdeps/generic/make_siglist.c (main): Call signame_init, not
  4986.     init_sigs.
  4987.  
  4988.     * Makerules (native-compile): Compile $^, not just $<.
  4989.  
  4990.     * sysdeps/unix/i386/sysdep.h (PSEUDO): Omit `.text'.  Some
  4991.     assemblers don't like `.text; ...'.
  4992.  
  4993.     * Rules (all): Mention as target first, so it is the default goal.
  4994.  
  4995.     * sysdeps/unix/i386/sysdep.S: #undef syscall_error before using it
  4996.     as a label.
  4997.     [NO_UNDERSCORES]: Define __syscall_error instead of syscall_error.
  4998.  
  4999.     * sysdeps/unix/readdir.c: Decrement d_namlen until it no longer
  5000.     includes any nulls.
  5001.  
  5002.     * Makerules (+install-dirs): Variable removed.
  5003.     (install): Don't depend on $(+install-dirs).
  5004.     (installdirs): New target, to make $(dir $(+install)) using
  5005.     mkinstalldirs.  Make $(+install) depend on it.
  5006.     * Makefile (distribute): Add mkinstalldirs.
  5007.     * mkinstalldirs: New file.
  5008.  
  5009.     * manual/Makefile (installdirs):
  5010.     New target, using mkinstalldirs to create $(infodir).
  5011.     ($(infodir)/libc.info): Depend on installdirs.
  5012.     (minimal-dist): Remove Makefile.
  5013.     (doc-only-dist): New variable, containing Makefile and mkinstalldirs.
  5014.     (*.tar): Depend on $(doc-only-dist).
  5015.  
  5016. Sat May 22 16:31:54 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5017.  
  5018.     Compile zoneinfo files directly into $(datadir)/zoneinfo, rather
  5019.     than compiling them into the source directory and then copying.
  5020.     * time/Makefile (zones-%): Put targets of generated rule in
  5021.     $(datadir)/zoneinfo, not zoneinfo.
  5022.     Don't make generated rules depend on zoneinfo/.
  5023.     (zonenames, zones-%): Write into $@.new and then use atomic mv.
  5024.     (zones, zoneinfo): Targets removed.
  5025.     (zoneinfo/localtime, zoneinfo/posixrules): Change targets to be in
  5026.     $(datadir)/zoneinfo; find $(localtime) and $(posixrules) there as well.
  5027.     ($(localtime-file), $(posixrules-file)): Targets removed.
  5028.     (install-data): Definition removed.
  5029.     (install-others): Include $(zonenames) from $(datadir)/zoneinfo; and
  5030.     $(localtime-file) and $(posixrules-file), from $(datadir)/zoneinfo
  5031.     if they are not absolute file names.
  5032.  
  5033.     * time/zic.c (dolink): If FROMFILE or TOFILE begins with a slash,
  5034.     just set {FROM,TO}NAME to it, instead of prepending DIRECTORY.
  5035.     Don't free {FROM,TO}NAME if it is {FROM,TO}FILE.
  5036.  
  5037. Fri May 21 13:23:32 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5038.  
  5039.     * sysdeps/unix/i386/sysdep.S: Paste : onto syscall_error.
  5040.  
  5041.     * sysdeps/unix/configure: Use grep -i when looking for syscalls.
  5042.     (unix_syscall_h): Ignore syscall.h found in sysdeps/stub.
  5043.     Remove __setpgrp from list of syscalls.
  5044.  
  5045.     * sysdeps/unix/Makefile ($(common-objpfx)sys/param.h): Write defn
  5046.     for MAXHOSTNAMELEN.  The kludgemeister strikes again.
  5047.  
  5048.     * posix/Makefile (glob/ChangeLog): Use mv -f.
  5049.  
  5050.     * configure.in (os frobnication): Translate numbers separated by
  5051.     `v's into numbers separated by dots.
  5052.  
  5053.     * sysdeps/unix/sysv/sco3.2.4/syscall.h: New file.
  5054.  
  5055.     * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Rewritten to do the
  5056.     canonical wait3-style magic.
  5057.  
  5058.     * sysdeps/unix/sysv/sco3.2.4/{Makefile,Dist,sco_pgrp.S,
  5059.     __getpgrp.c,__setpgrp.c,__setsid.c}: New files.
  5060.  
  5061.     * Makerules ($(common-objpfx)stub-$(subdir)): Add /dev/null to
  5062.     inner sed command.
  5063.  
  5064.     * manual/Makefile ($(objpfx)%.info, $(objpfx)%.dvi): New rules.
  5065.     ($(infodir)/libc.info): Take basename of each $<* before using it.
  5066.     (glibc-targets): Add stubs.
  5067.     (stubs, $(common-objpfx)stub-manual): New targets.
  5068.  
  5069.     * time/Makefile (distribute): Add yearistype.
  5070.     * time/yearistype: New file.
  5071.  
  5072.     * sysdeps/unix/bsd/sequent/i386/__sigvec.S: Don't use ARGS_4
  5073.     macro; just set %ecx to %esp instead.  Pop the stack before doing
  5074.     the system call, so the add doesn't clear the condition codes.
  5075.  
  5076.     * sysdeps/unix/start.c [HAVE_GNU_LD]: Put `start' symbol alias
  5077.     under [! NO_UNDERSCORES && ! __GNUC__].
  5078.  
  5079.     * sysdeps/unix/sysdep.h (C_LABEL): Use ## to paste NAME and : together.
  5080.  
  5081.     * sysdeps/unix/i386/sysdep.h (DO_CALL): Add missing backslash.
  5082.  
  5083. Thu May 20 18:01:15 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5084.  
  5085.     * Makefile ($(+subdir_targets)): Remove old rule.  Replace with
  5086.     static pattern rule to depend on DIR/TARGET for each subdir and target.
  5087.     (all-subdirs-targets): Define variable to contain names of all
  5088.     those targets.
  5089.     ($(all-subdir-targets)): Define rule for these to do sub-make.
  5090.  
  5091.     * sysdeps/unix/sysv/sysv4/direct.h (D_NAMLEN): Subtract one for
  5092.     the terminating null character.
  5093.     * sysdeps/unix/sysv/sco3.2.4/direct.h (D_NAMLEN): Copy defn from
  5094.     that file.
  5095.  
  5096. Thu May 20 11:02:59 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
  5097.  
  5098.     * sysdeps/posix/__getpgsz.c: New file.
  5099.     * sysdeps/unix/sysv/sysv4/__getpgsz.c: New file, include the posix one.
  5100.     * sysdeps/posix/__getdtsz.c: New file.
  5101.     * sysdeps/unix/sysv/sysv4/__getdtsz.c: New file, include the posix one.
  5102.  
  5103.     * sysdeps/unix/sysv/sysv4/{__sysconf.c, __sysconfig.S,
  5104.     sysconfig.h, Makefile, Dist}: New files.
  5105.  
  5106.     * sysdeps/generic/confname.h (enum for sysconf): Add _SC_PAGESIZE.
  5107.     * sysdeps/posix/__sysconf.c: Include stddef.h.
  5108.     (__getpagesize): Declare.
  5109.     (__sysconf, case _SC_PAGESIZE): Call __getpagesize.
  5110.  
  5111. Wed May 19 14:03:07 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5112.  
  5113.     * manual/Makefile (routines, aux, sources, objects, headers):
  5114.     Define empty.
  5115.  
  5116.     * Makeconfig (infodir): Define.
  5117.     * Makefile (+other_dirs): Add manual.
  5118.     * manual/Makefile: Include ../Makeconfig if it exists.
  5119.     (subdir): Export it.
  5120.     (find-includes): Output variable name is $(@F), not $@.
  5121.     (distribute): Export it.
  5122.     (mostlyclean, distclean, realclean, clean, subdir_clean): New targets.
  5123.     (install, subdir_install): New targets.
  5124.     (infodir, prefix, INSTALL_DATA, INSTALL): Define vars if undefined.
  5125.     ($(infodir)/libc.info): New target.
  5126.     (dist): Use ../Make-dist if it exists.
  5127.     (glibc-targets): New variable.
  5128.     ($(glibc-targets)): Make no-op targets.
  5129.  
  5130.     * config.guess: New file, maintained by Cygnus.
  5131.     * configure.in: Move AC_PREPARE before arg lossage check.
  5132.     If $target is unset, try setting it from config.guess.
  5133.     * Makefile (distribute): Add config.guess.
  5134.  
  5135.     * inet/getnetbyad.c: Change first arg type to int32_t.
  5136.     * inet/inet_mkadr.c: Change arg types to u_int32_t.
  5137.     * inet/inet_lnaof.c: Change return type to u_int32_t.
  5138.     * inet/inet_net.c: Likewise.
  5139.     * inet/inet_netof.c: Likewise.
  5140.     * inet/res_send.c, inet/res_query.c, inet/res_mkqry.c,
  5141.     inet/res_init.c, inet/res_debug.c, inet/res_comp.c,
  5142.     inet/inet_addr.c, inet/herror.c, inet/gethstnmad.c, inet/resolv.h,
  5143.     inet/netdb.h, inet/arpa/nameser.h, inet/arpa/inet.h:
  5144.     Snarfed latest code from BIND 4.9.1.
  5145.     * inet/sys/bitypes.h: New file.
  5146.     * conf/portability.h: New file.
  5147.     * inet/Makefile (headers): Add sys/bitypes.h.
  5148.     (distribute): Define to ../conf/portability.h.
  5149.  
  5150.     * mach/__msg_destroy.c: Renamed to __msg_dest.c.
  5151.     * mach/mig_syms.c: Renamed from mig_support_syms.c.
  5152.     Added symbol alias for mig_strncpy.
  5153.     * mach/__mig_strncpy.c: Renamed to mig_strncpy.c.
  5154.     * mach/mig_strncpy.c: File removed.
  5155.     * mach/Makefile (routines): Remove __mig_strncpy; change
  5156.     mig_support_syms to mig_syms; change __msg_destroy to __msg_dest.
  5157.  
  5158.     * sysdeps/posix/Makefile: Replace instances of `objpfx' and
  5159.     `objdir' with `common-objpfx' and `common-objdir'.
  5160.  
  5161. Mon May 17 16:29:29 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5162.  
  5163.     * time/asctime.c: Replace ` %2d' with `%3d' in FORMAT.
  5164.     (asctime): Check return from sprintf being <0, not <25.
  5165.  
  5166.     * sysdeps/unix/opendir.c: Include <stdio.h> for BUFSIZ.
  5167.  
  5168.     * sysdeps/unix/i386/sysdep.h (PSEUDO): Put ; after DO_CALL use.
  5169.  
  5170.     * sysdeps/i386/ffs.c: Use `nonzero' for asm label, instead of `1f'.
  5171.  
  5172. Sun May 16 17:59:58 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5173.  
  5174.     * sysdeps/unix/bsd/sequent/i386/__sigvec.S: Don't get fancy with
  5175.     xchg; just push $trampoline and then push our args again, pop them
  5176.     after the system call.
  5177.  
  5178.     * time/tzfile.c (__tzfile_default): Don't assume TYPES[0] is
  5179.     standard and TYPES[1] is DST.  Instead, loop through all types:
  5180.     if a type's isdst flag is set, set its idx to STDLEN and its
  5181.     offset to DSTOFF; if isdst is clear, set its idx to 0 and its
  5182.     offset to STDOFF.
  5183.  
  5184.     * time/__tzset.c: When __tzfile_default returns having set
  5185.     __use_tzfile, set __tzset_run before returning.
  5186.  
  5187.     * sysdeps/posix/sleep.c: Block SIGALRM with sigprocmask before
  5188.     changing its handler.  Use sigaction instead of signal to set the
  5189.     handler.  Use sigsuspend to restore the blocked signals and pause
  5190.     atomically, instead of using pause.  Be sure to disable the alarm
  5191.     when a signal other than SIGALRM wakes sigsuspend.
  5192.  
  5193.     * time/Makefile (zic-cmd): Put the directory before the nondirectory.
  5194.  
  5195.     * Makerules (stubs): Remove surrounding `ifdef +depfiles'...`endif'.
  5196.  
  5197.     * time/Makefile: Include ../Makeconfig before trying to use $(objpfx).
  5198.  
  5199.     * time/tzfile.c (__tzfile_compute): When there are transitions and
  5200.     TIMER is not before the first one, find the first transition after
  5201.     TIMER, and then set I to the type of the transition before it.
  5202.     Set INFO from types[I], not types[type_idxs[I]].
  5203.  
  5204.     * posix/Makefile (glob/configure): cd to glob before running autoconf.
  5205.  
  5206.     * time/__tzset.c (compute_change): Don't add 1900 to YEAR.
  5207.     (__tz_compute): Add 1900 to the year we pass to compute_change.
  5208.  
  5209.     * time/gmtime.c: After calling __offtime, zero tm_gmtoff and set
  5210.     tm_zone to "GMT".
  5211.  
  5212.     * time/time.h [__OPTIMIZE__]: Remove gmtime macro version.
  5213.  
  5214.     * time/tzfile.c (__tzfile_default): Fail if NUM_TYPES < 2, not if
  5215.     NUM_TYPES != 2.
  5216.  
  5217.     * time/tzfile.c (__tzfile_compute): Don't take arg TM.
  5218.     Instead take new args long int *LEAP_CORRECT and int *LEAP_HIT.
  5219.     Don't apply leap second correction to __timezone; instead set
  5220.     *LEAP_CORRECT and *LEAP_HIT.
  5221.     * time/__tzset.c (tzset_run): Renamed to __tzset_run, made global.
  5222.     (__tzset): Change uses.
  5223.     (__tz_compute): Change use here as well.
  5224.     Make second arg be a `const struct tm *'.  Don't call __tzfile_compute.
  5225.     * time/localtime.c: Call __tzset if __tzset_run is clear.
  5226.     New local vars LEAP_CORRECTION and LEAP_EXTRA_SECS.
  5227.     If __use_tzfile is set, call __tzfile_compute and pass it their
  5228.     addresses.  Only need to call gmtime if __use_tzfile is clear.  If
  5229.     it is clear, pass result of gmtime to __tz_compute, instead of
  5230.     dereferencing it first; and zero LEAP_CORRECTION and LEAP_EXTRA_SECS.
  5231.     Subtract LEAP_CORRECTION from __timezone in __offtime call.
  5232.     After __offtime, add LEAP_EXTRA_SECS to TP->tm_sec.
  5233.  
  5234.     * sysdeps/generic/strsep.c: Increment END when writing a null to
  5235.     it, and set *STRINGP to END rather than END+1, so *STRINGP never
  5236.     points past the null.
  5237.  
  5238. Sat May 15 17:10:02 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  5239.  
  5240.     * time/strftime.c: Alphabetize switch cases.
  5241.     Add GNU extensions %h, %C, %k, %l.
  5242.  
  5243.     * time/asctime.c: Make RESULT big enough for each %d to be 2^64.
  5244.     Protect against tm_wday and tm_mon being out of bounds; use "???"
  5245.     if they are.
  5246.  
  5247.     * time/{emkdir,ialloc,scheck,zic,zdump}.c: New versions from ADO.
  5248.  
  5249.     * time/africa, time/antarctica, time/asia, time/australasia,
  5250.     time/europe, time/northamerica, time/southamerica,
  5251.     time/pacificnew, time/etcetera, time/factory, time/systemv,
  5252.     time/solar87, time/solar88, time/solar89, time/leapseconds:
  5253.     Updated from Arthur David Olsen's latest.
  5254.  
  5255.     * sysdeps/generic/__expm1.c, sysdeps/generic/asinh.c,
  5256.     sysdeps/generic/exp__E.c, sysdeps/generic/log.c,
  5257.     sysdeps/generic/log1p.c, sysdeps/generic/mathimpl.h,
  5258.     sysdeps/generic/pow.c, sysdeps/mach/hurd/__ioctl.c,
  5259.     sysdeps/mach/hurd/stdio_init.c, sysdeps/unix/bsd/clock.c: Put
  5260.     `const' qualifier always after storage classes.
  5261.  
  5262.     * sysdeps/unix/bsd/sequent/i386/__sigvec.S (trampoline): Use
  5263.     `call', not `jsr'.
  5264.     (__sigvec): Exchange the scratch reg with 16(%esp) (fourth arg
  5265.     slot), not 0(%esp) (return PC slot).  Use ARGS_4 to point the
  5266.     syscall at the args.
  5267.  
  5268.     * sysdeps/unix/common/__getgrps.c: When gid_t==int, and SIZE!=0,
  5269.     return N from __bsd_getgroups.
  5270.  
  5271.     * posix/unistd.h (__need_NULL): Define before including <stddef.h>.
  5272.     1003.1-1990 2.7.1 says it should be here.
  5273.  
  5274. Sat May 15 14:54:25 1993  Noah Friedman  (friedman@nutrimat.gnu.ai.mit.edu)
  5275.  
  5276.         * time/__tzset.c (compute_change): Add 1900 to YEAR, not 1970.
  5277.  
  5278. Fri May 14 21:24:19 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
  5279.  
  5280.     * sysdeps/unix/sysv/sysv4/solaris2/start.c: Define NO_EXPLICIT_START.
  5281.     * sysdeps/unix/sparc/start.c [NO_EXPLICIT_START]: Don't asm
  5282.     `_start' into `start' (e.g., for Solaris).
  5283.  
  5284.     * sysdeps/unix/sysv/sysv4/solaris2/sysdep.h: New file.
  5285.  
  5286. Fri May 14 19:34:54 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5287.  
  5288.     * malloc/Makefile: Remove depend-malloc dependency on malloc/gmalloc.c.
  5289.  
  5290.     * posix/Makefile (headers): Add sys/unistd.h.
  5291.     * posix/sys/unistd.h: New file, just includes <unistd.h>.
  5292.  
  5293.     * sysdeps/unix/common/glue-ctype.c (main): Define generated array
  5294.     as `unsigned char' rather than `char'.
  5295.  
  5296.     * sysdeps/unix/start.c [__GNUC__]: Use asm frob to make `start'
  5297.     asm name of _start.
  5298.  
  5299.     * sysdeps/unix/opendir.c [! _STATBUF_ST_BLKSIZE]: Don't fstat and
  5300.     use st_blksize; try BUFSIZ instead.
  5301.  
  5302.     * sysdeps/unix/Makefile (ioctls): Don't use sed to remove final |
  5303.     from snarf-ioctls output; just append a dummy alternative instead.
  5304.  
  5305.     * sysdeps/posix/__wait3.c: Fix arg types.
  5306.  
  5307.     * Makerules ($(common-objpfx)stub-$(subdir)): Use @ for sed
  5308.     separator char.  Pass extra file /dev/null in case `...` gets empty.
  5309.  
  5310.     * sysdeps/unix/sysdep.h (C_LABEL): Define new macro.
  5311.     * sysdeps/unix/i386/sysdep.h (ENTRY): Use it.
  5312.     * sysdeps/unix/sparc/sysdep.h (ENTRY): Likewise.
  5313.     * sysdeps/unix/sparc/__brk.S: Use C_LABEL and ENTRY instead of
  5314.     C_SYMBOL_NAME.
  5315.     * sysdeps/unix/i386/__brk.S: Use C_LABEL instead of C_SYMBOL_NAME.
  5316.  
  5317. Fri May 14 17:41:42 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
  5318.  
  5319.     * sysdeps/mips/sqrt.c [HAVE_GNU_AS]: Use the IEEE 754 version of
  5320.     sqrt since gas can't handle the `sqrt.d' synthetic instruction.
  5321.  
  5322. Fri May 14 16:33:47 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5323.  
  5324.     * stdio/Makefile (routines): Add tempname.
  5325.  
  5326.     * sysdeps/unix/common/make_siglist.c: #define const to empty
  5327.     around #include of <signal.h>.
  5328.  
  5329.     * sysdeps/unix/errnos.awk: Surround generated `DO' macro calls
  5330.     with #ifdef on the E* symbol.
  5331.  
  5332.     * sysdeps/unix/common/make_siglist.c [! HAVE_SYS_SIGLIST &&
  5333.     HAVE__SYS_SIGLIST]: Define sys_siglist to _sys_siglist.
  5334.  
  5335.     * termios/Makefile (headers): Add termbits.h.
  5336.  
  5337.     * posix/Makefile (headers): Add waitflags.h and waitstatus.h.
  5338.  
  5339.     * math/math.h (struct __complex): Rename to struct __cabs_complex.
  5340.     __complex is now a reserved word in GCC.
  5341.     * sysdeps/generic/cabs.c (cabs): Likewise.
  5342.     * sysdeps/ieee754/cabs.c (cabs, z_abs): Likewise.
  5343.  
  5344.     * sysdeps/unix/common/glue-ctype.c: Test for _ctype__ before _ctype_.
  5345.  
  5346.     * posix/Makefile (headers): Add confname.h.
  5347.  
  5348. Thu May 13 00:25:53 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  5349.  
  5350.     * ctype/Makefile (tags_sources): Don't define.
  5351.     * MakeTAGS [subdir==ctype] (tags_sources): Put headers before sources.
  5352.  
  5353.     * time/__tzset.c (compute_change): Add 1970 to YEAR before using it.
  5354.  
  5355.     * sysdeps/unix/readdir.c: Pass a BASEP arg to __getdirentries.
  5356.  
  5357. Wed May 12 20:36:51 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  5358.  
  5359.     * Makefile (distribute): Add aclocal.m4.
  5360.  
  5361.     * dirent/list.c (test): Clear errno before readdir loop.  Complain
  5362.     if errno is set thereafter.
  5363.  
  5364.     * sysdeps/unix/sysv/sysv4/solaris2/utsnamelen.h: New file.
  5365.     * sysdeps/unix/sysv/sysv4/solaris2/__utimes.S: New file.
  5366.     * sysdeps/unix/sysv/sysv4/solaris2/sigaltstack.S: New file.
  5367.     * sysdeps/unix/sysv/sysv4/solaris2/Makefile: New file.
  5368.  
  5369.     * sysdeps/unix/bsd/sun/sparc/start.c: Moved to sysdeps/unix/sparc.
  5370.     * sysdeps/unix/sparc/start.c: Moved from sysdeps/unix/bsd/sun/sparc.
  5371.     Surround all shared library frobnication code with #ifndef NO_SHLIB.
  5372.     * sysdeps/unix/sysv/sysv4/solaris2/start.c: New file.
  5373.  
  5374.     * configure.in (os = solaris[2-9]*): base_os=unix/sysv/sysv4.
  5375.  
  5376.     * sysdeps/sparc/setjmp.S: Include <sysdep.h>, not "DEFS.h".
  5377.     Use ENTRY(__setjmp) instead of FUNC(___setjmp).
  5378.  
  5379.     * sysdeps/sparc/divrem.m4: [__svr4__]: Include <sys/trap.h>
  5380.     instead of <machine/trap.h>.
  5381.  
  5382.     * sysdeps/sparc/__longjmp.S: Include <sysdep.h>, not "DEFS.h".
  5383.     Use ENTRY(__longjmp) instead of FUNC(___longjmp).
  5384.     [__svr4__]: Use <sys/trap.h> instead of <machine/trap.h>.
  5385.  
  5386.     * sysdeps/unix/i386/sysdep.h (C_SYMBOL_NAME, SYS_ify): Moved to
  5387.     sysdeps/unix/sysdep.h.
  5388.     * sysdeps/unix/sparc/sysdep.h: New file.
  5389.     * sysdeps/unix/bsd/sun/sparc/sysdep.h: File removed.
  5390.  
  5391.     * sysdeps/unix/sparc/__brk.S: New file.
  5392.     * sysdeps/unix/sparc/__brk.c: File removed.
  5393.  
  5394. Wed May 12 19:43:37 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5395.  
  5396.     * malloc/cfree.c: Put malloc.h include in _MALLOC_INTERNAL conditional.
  5397.  
  5398. Wed May 12 16:24:23 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  5399.  
  5400.     * Makeconfig (+link): Put $(LDFLAGS) in the value.
  5401.     * sysdeps/unix/bsd/sun/sparc/Makefile (LDFLAGS): Set it.
  5402.  
  5403.     * posix/glob.c: Move include <unistd.h> before dir includes.
  5404.     [HAVE_UNISTD_H] [! POSIX] [_POSIX_SOURCE]: Define POSIX.
  5405.  
  5406.     * grp/initgroups.c [! NGROUPS_MAX || NGROUPS_MAX == 0]: Just
  5407.     return 0 and do nothing.
  5408.  
  5409.     * sysdeps/unix/sysv/sco3.2.4/__{sys,path}conf.S: New files.
  5410.     * posix/unistd.h: Include <confname.h>; remove _{SC,CS,PC}_* defns.
  5411.     * sysdeps/generic/confname.h: New file.
  5412.     * sysdeps/unix/sysv/sco3.2.4/confname.h: New file.
  5413.  
  5414.     * malloc/cfree.c: Include <malloc.h> instead of <stdlib.h>.
  5415.     [_LIBC]: Use function_alias only under this conditional.
  5416.     [! _LIBC] (cfree): Define a function that just calls free.
  5417.  
  5418.     * posix/Makefile (glob.tar): Depend on glob/ChangeLog.
  5419.     (glob/configure): Just run autoconf, don't do a sub-make.
  5420.     (glob/ChangeLog): New target.
  5421.     (%.Z, %.z): New rules.
  5422.  
  5423. Mon May 10 16:56:09 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  5424.  
  5425.     * malloc/cfree.c: Put the meat of the file inside a "#if
  5426.     defined(__GNU_LIBRARY__)" clause, so that gmalloc.c, which
  5427.     incorporates this file, can be used outside of the C library.
  5428.  
  5429. Sun May  9 16:57:43 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5430.  
  5431.     * stdio/fseek.c: Don't call __flshfp unless STREAM is writable.
  5432.  
  5433.     * string/tester.c (main): Remove unused variable.
  5434.  
  5435.     * sysdeps/unix/bsd/set[er][gu]id.c: New files.
  5436.  
  5437.     * sysdeps/unix/mk-local_lim.c (NAME_MAX): Define to 255 if undefined.
  5438.  
  5439.     * malloc/Makefile (malloc-dist): Add ChangeLog and mem-limits.h.
  5440.     (malloc/ChangeLog): New rule using Noah's changelog-extract.
  5441.     (malloc.tar): Use o flag to tar to make compatible archives.
  5442.     (gmalloc-routines): Add calloc, valloc, and cfree.
  5443.     (dist-routines): Remove [cv]alloc from here.
  5444.     (routines): Remove cfree from here.
  5445.  
  5446. Fri May  7 16:45:54 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5447.  
  5448.     * sysdeps/posix/ttyname.c: Replace fixed-sized NAME array with
  5449.     static char *NAME and static size_t NAMELEN.
  5450.     Don't check S_ISCHR.
  5451.     Don't hack NAME before the loop.
  5452.     If need more than NAMELEN chars to hold the name, increase NAMELEN
  5453.     to more than big enough and malloc NAME.
  5454.     Save errno in local var SAVE before doing anything; restore it
  5455.     when returning non-error.
  5456.  
  5457.     * Makefile (generated): Add $(objpfx)stubs.h.
  5458.     (README): New rule to call Make-dist to do the work.
  5459.  
  5460.     * mach/Makefile: Don't include mach-syscalls.mk if no_deps=t.
  5461.  
  5462.     * crypt/GNUmakefile (%.z): New rule for gzipping.
  5463.     (crypt.tar): Use o flag to tar to make compatible archives.
  5464.  
  5465.     * Makeconfig: Find config.make in $(common-objpfx), not $(objpfx).
  5466.  
  5467.     * io/Makefile (headers): Remove filebits.h.
  5468.  
  5469.     * sysdeps/unix/sysv/sysv4/Dist: File removed.
  5470.  
  5471.     * Makefile (README): Move from here.
  5472.     * Make-dist (README): To here.
  5473.  
  5474.     * sysdeps/unix/Makefile (sys/param.h): Don't depend on sys/.  It
  5475.     was causing sys/param.h to be remade all the time.
  5476.  
  5477.     * aclocal.m4 (GLIBC_PROVIDES): Add shell comment about configure
  5478.     being generated and not to be editted.
  5479.  
  5480.     * sysdeps/unix/swapon.S: Moved to sysdeps/unix/common.
  5481.     * sysdeps/unix/configure: Add swapon to list of syscalls to check for.
  5482.  
  5483.     * sysdeps/unix/mk-local_lim.c: New file, modified from
  5484.     sysdeps/unix/common/mk-local_lim.c.
  5485.     * sysdeps/unix/common/Makefile: Move local_lim.h rules from here.
  5486.     * sysdeps/unix/Makefile: Put them there.
  5487.     (local_lim-CFLAGS): Define new variable.
  5488.     (mk-local_lim): Replace $(native-compile) with its value plus
  5489.     $(local_lim-CFLAGS).
  5490.     * sysdeps/unix/common/Dist: Remove mk-local_lim.c.
  5491.     * sysdeps/unix/Dist: Add it here.
  5492.  
  5493.     * Makerules (make-dummy-dep): New variable; canned command.
  5494.     ($(objpfx)%.dep: {$(objpfx),}%.s): New rules using $(make-dummy-dep).
  5495.     (sysd-Makefile): Write a $(objpfx)%.dep: $dir/%.s rule using it.
  5496.  
  5497.     * misc/ioctl.c: Replace function_alias with:
  5498.     [HAVE_GNU_LD]: Use symbol_alias.
  5499.     [! HAVE_GNU_LD]: Write out the function; it must fetch its third arg
  5500.     with va_arg and then call __ioctl.
  5501.  
  5502. Thu May  6 14:56:16 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5503.  
  5504.     * misc/sys/ioctl.h (__ioctl, ioctl): Changed prototype to take 2
  5505.     args and ... rather than a 3rd __ptr_t arg.
  5506.     * sysdeps/stub/__ioctl.c: Changed defn.
  5507.  
  5508.     * sysdeps/unix/bsd/sun/sunos4/tcflow.c: Include <sys/ioctl.h>.
  5509.  
  5510.     * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Define as
  5511.     -DHAVE_SYS_TERMIOS_H if $(sysincludedir)/sys/termios.h exists.
  5512.     (make-ioctls): Replace command `$(common-objdir-compile)' with
  5513.     that var's contents from Makerules, plus $(make-ioctls-CFLAGS).
  5514.     * sysdeps/unix/ioctls-tmpl.c [HAVE_SYS_TERMIOS_H]: Get <sys/termios.h>.
  5515.  
  5516.     * misc/sys/ioctl.h: Include <sys/ttydefaults.h> after <ioctls.h>.
  5517.  
  5518.     * sysdeps/unix/bsd/sun/sunos4/speed.c (cfget[io]speed): Return the
  5519.     raw speed, rather than using it as an index into `speeds'.
  5520.     (cfset[io]speed): Treat SPEED being an index into `speeds' just as
  5521.     if it were the value of that element.
  5522.  
  5523.     * termios/termios.h: Remove definitions of B[0-9]+ and EXT[AB].
  5524.     * sysdeps/generic/termbits.h: Put them here instead.
  5525.     * sysdeps/unix/bsd/sun/sunos4/termbits.h: Add new defns for those.
  5526.  
  5527.     * sysdeps/unix/Makefile (termbits-edit): If termbits.h is not the
  5528.     generic version, set this to an | egrep command which filters out
  5529.     symbols appearing in termbits.h.
  5530.     (ioctls): Depend on $(sysincludedir)sys/termios.h if it exists.
  5531.     Pass all deps after first to snarf-ioctls.
  5532.     Put $(termbits-edit) in cmd line; it may be empty or a pipe.
  5533.     Pipe through sort|uniq before tr (just to cut down on duplicates).
  5534.  
  5535.     * sysdeps/generic/Makefile, sysdeps/unix/Makefile: When deciding
  5536.     whether to generate files whose stub versions are chosen, also
  5537.     include the generation rules when the chosen directory is
  5538.     $(common-objpfx), so they continue to be defined after running once.
  5539.  
  5540.     * sysdeps/posix/Makefile: Use patsubst instead of substition
  5541.     references when the substitution or replacement contains a $.
  5542.     Make has a bug (which I just fixed) with such substitution references.
  5543.  
  5544.     * posix/wait3.c: Fixed arg types in fn alias.
  5545.     * posix/wait4.c: Likewise.
  5546.  
  5547.     * sysdeps/posix/Makefile: Remove vpath %.h line.
  5548.     * Makerules: Add vpath %.h directive.
  5549.  
  5550.     * sysdeps/posix/Makefile (generated, before-compile): Add
  5551.     $(common-objpfx)stdio_lim.h, not just plain stdio_lim.h.
  5552.  
  5553.     * Makerules (depend-$(subdir)): Put $(objpfx) in the output, not
  5554.     its expansion.
  5555.     (+make-deps): Add sed clause to translate the expansion of
  5556.     $(objpfx) back into the variable reference.
  5557.  
  5558. Wed May  5 15:59:40 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5559.  
  5560.     * sysdeps/unix/sysv/sco3.2/local_lim.h: New file.
  5561.  
  5562.     * sysdeps/unix/sysv/sco3.2/Makefile: New file
  5563.     * sysdeps/unix/sysv/sco3.2/Dist: New file.
  5564.     * sysdeps/unix/sysv/sco3.2/__fltused.c: New file.
  5565.  
  5566.     * sysdeps/unix/configure: New file.
  5567.     * sysdeps/unix/inet/__select.S: Moved to sysdeps/unix/common.
  5568.     This is because select is a call sysdeps/unix/configure wants to
  5569.     check for, and it simplifies life for all those to be in unix/common.
  5570.  
  5571.     * sysdeps/tahoe/Implies: Remove $(bsdmath)tahoe line.
  5572.  
  5573.     * sysdeps/unix/sysv/sco3.2.4/{__sigact,__sigproc,
  5574.     sigpending,sigsuspend}.S: New files.
  5575.  
  5576.     * Makefile (INSTALL): Depend on manual/maint.texi, not
  5577.     manual/maint.texinfo.  Use -- instead of + for long options.
  5578.  
  5579.     * configure.in: After setting $sysnames initially and adding the
  5580.     FPU directory, expand and uniquize the list with code that used to
  5581.     be in find-sysdirs.  Make $sysnames blank-separated rather than
  5582.     newline-separated.  Generalize loop iterating over $sysnames, so
  5583.     it sets $uname and sources sysdep configure scripts.  Move
  5584.     sys_siglist and ctype checks to sysdeps/unix/common/configure.in.
  5585.     Set Make variable `config-sysdirs' to $sysnames in config.make,
  5586.     and don't frob Sysnames or sysdirs files at all.
  5587.     * find-sysdirs: File removed.
  5588.     * Makefile (distribute): Remove find-sysdirs.
  5589.     (sysd-dirs): Depend on config.make instead of config.make.
  5590.     Use $(sysdirs) in place of `cat $<`.
  5591.     * aclocal.m4: New file.
  5592.     * sysdeps/unix/common/configure.in: New file, contains checks for
  5593.     sys_siglist and ctype glue moved from top-level configure.in.
  5594.     * Makerules (sysdirs, Sysnames): Rules removed.
  5595.     Don't include sysdirs.
  5596.     (sysdirs): Define variable from $(config-sysdirs).
  5597.     (sysd-Makefile): Depend on config.make instead of sysdirs.
  5598.     Use $(sysdirs) instead of filtering the sysdirs file.
  5599.     * Make-dist (+sysdep-tsrcs): Include configure and configure.in
  5600.     from sysdep dirs.
  5601.     (dist.tar): Use o flag to tar for compatible archives.
  5602.     (dist): Depend on foo.z instead of foo.Z.
  5603.     ($(tardir){-crypt,}.tar.z): Renamed from .Z.
  5604.     (%.z: %): New rule.
  5605.     (%/configure: %/configure.in): New rule.
  5606.  
  5607. Mon May  3 17:45:06 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5608.  
  5609.     * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: New file.
  5610.  
  5611.     * sysdeps/unix/sysv/sco3.2.4/direct.h: New file.
  5612.  
  5613.     * sysdeps/unix/readdir.c: Moved from unix/bsd, rewritten to always
  5614.     use __getdirentries and D_NAMLEN macro, no #ifdefs.
  5615.     * sysdeps/unix/sysv/readdir.c, sysdeps/unix/bsd/bsd4.4/readdir.c,
  5616.     sysdeps/unix/bsd/ultrix4/readdir.c,
  5617.     sysdeps/unix/bsd/hp/m68k/readdir.c,
  5618.     sysdeps/unix/bsd/sun/readdir.c: Files removed.
  5619.     * sysdeps/unix/common/{close,open,rewind,seek,tell}dir.c: Moved to
  5620.     sysdeps/unix.
  5621.     * sysdeps/unix/sysv/direct.h: New file.
  5622.     * sysdeps/unix/bsd/direct.h (D_NAMLEN): Define to use d_namlen.
  5623.     * sysdeps/unix/sysv/sysv4/direct.h (D_NAMLEN): Define to calculate
  5624.     from d_reclen.
  5625.     * sysdeps/unix/__getdents.c: New file.
  5626.     * sysdeps/stub/direct.h: New file.
  5627.     * sysdeps/unix/bsd/Dist: Remove bsddir.h.
  5628.     * sysdeps/unix/sysv/sysv4/readdir.c: Moved to unix/sysv.
  5629.     * sysdeps/unix/sysv/sysv4/bsddir.h: Renamed to direct.h.
  5630.     * sysdeps/unix/bsd/bsddir.h: Likewise.
  5631.     * sysdeps/unix/common/opendir.c: Include "direct.h", not "bsddir.h".
  5632.     * sysdeps/unix/sysv/sysv4/readdir.c: Likewise.
  5633.     * dirent/Makefile (distribute): Define to include direct.h.
  5634.  
  5635.     * sysdeps/unix/common/opendir.c: Be sure to close FD if fcntl fails.
  5636.  
  5637.     * sysdeps/generic/memcopy.h: #include <sys/cdefs.h> and use __P
  5638.     prototypes instead of EXFUN.
  5639.  
  5640.     * sysdeps/generic/memcmp.c (__ptr_t, const): Define as appropriate
  5641.     conditional on [__cplusplus || __STDC__].
  5642.  
  5643. Thu Apr 29 21:48:37 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5644.  
  5645.     * Makefile ($(libc.a)): Make this, not lib, depend on subdir_lib.
  5646.  
  5647.     * Makerules ($(objpfx)%.{o,dep} rules): Remove spurious / after
  5648.     $(objpfx) in dependency patterns.
  5649.  
  5650.     * sysdeps/unix/bsd/sun/sparc/start.c (_start): Define with
  5651.     `asm ("start")', so its asm name is `start' rather than `__start'.
  5652.     Remove asm that did a `.set' pseudo-op, which Sun as seems not to grok.
  5653.  
  5654. Wed Apr 28 12:59:46 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5655.  
  5656.     * sysdeps/stub/system.c: Return 0 if LINE is nil.
  5657.  
  5658.     * sysdeps/unix/__execve.S [!SYS_execve && SYS_exec]: Define
  5659.     SYS_execve to be SYS_exec.
  5660.  
  5661.     * time/mktime.c: Include <sys/types.h>.
  5662.  
  5663. Mon Apr 26 17:10:21 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  5664.  
  5665.     * sysdeps/generic/memcmp.c: Deansideclized.
  5666.     [HAVE_CONFIG_H]: Include "config.h".
  5667.     [HAVE_STRING_H || _LIBC]: Put #include <string.h> under this.
  5668.     [_LIBC]: Put #include <memcopy.h> under this conditional.
  5669.     [! _LIBC]: Define op_t, OPSIZ, byte, and MERGE.
  5670.  
  5671.     * time/mktime.c: Define __isleap if not defined.
  5672.  
  5673. Fri Apr 23 18:08:33 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  5674.  
  5675.     * sysdeps/unix/sysv/__getdents.c: New file.
  5676.     * sysdeps/unix/sysv/sysv4/sys_getdents.S: Moved to unix/sysv.
  5677.     * sysdeps/unix/sysv/Makefile [subdir==dirent]: Add sys_getdents to
  5678.     sysdep_routines.
  5679.     * sysdeps/unix/sysv/Dist: Add sys_getdents.S.
  5680.     * sysdeps/unix/sysv/sysv4/Dist: Remove it from here.
  5681.     * sysdeps/unix/sysv/sysv4/Makefile: File removed.
  5682.  
  5683. Thu Apr 22 17:40:28 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5684.  
  5685.     * sysdeps/unix/bsd/sony/newsos4/m68k/sysdep.h: New file.
  5686.  
  5687.     * sysdeps/generic/strsep.c: Set *STRINGP to END+1, not END.
  5688.  
  5689.     * configure.in (arg parsing): Grok --verbose and set verbose=yes.
  5690.  
  5691.     * sysdeps/sparc/{umul,mul}.S: Remove ' from ! comment.
  5692.  
  5693.     * sysdeps/sparc/Makefile (*.S): Find divrem.m4 in this sysdeps dir.
  5694.  
  5695.     * sysdeps/unix/bsd/sun/sunos4/speed.c (cfset[io]speed): Typo fix.
  5696.  
  5697.     * sysdeps/unix/bsd/sun/sparc/vfork.S: Use a sethi insn and %g1 as
  5698.     a temporary, rather than expecting the address to fit into a short
  5699.     jump.
  5700.  
  5701.     * sysdeps/unix/bsd/__fork.S: Moved to sysdeps/unix/__fork.S; we
  5702.     want unix/MACHINE/__fork.S to come first.
  5703.  
  5704.     * sysdeps/unix/bsd/bsd4.4/__wait3.c: Make STAT_LOC type
  5705.     `__WAIT_STATUS' (defined in <sys/wait.h>).
  5706.     * sysdeps/unix/bsd/sun/sunos4/__wait4.c: Likewise.
  5707.  
  5708.     * signal/sigvec.c: Change args from `struct __sigvec *' to
  5709.     `struct sigvec *' in function alias.
  5710.  
  5711.     * signal/sigproc.c: Make arg SET `const sigset_t *' in fn alias.
  5712.  
  5713.     * signal/sigaction.c: Change args from `struct __sigaction *' to
  5714.     `struct sigaction *' in function alias.
  5715.  
  5716.     * sysdeps/unix/common/glue-ctype.c (main) [! TABLE]: Write just a
  5717.     comment saying we don't know the table name, rather than barfing
  5718.     with `TABLE' an undefined variable.
  5719.  
  5720.     * sysdeps/generic/printf_fp.c: Fixed test to chose %e format.
  5721.     Make loop condition --J > 0; break out of loop when FPNUM < F.
  5722.     After loop, use %e format iff J <= 0.
  5723.  
  5724.     * posix/glob/Makefile.in (.c.o): Put $(CFLAGS) last.
  5725.     (glob.o): Depend on glob.c.
  5726.     (fnmatch.o): Depend on fnmatch.c.
  5727.  
  5728. Wed Apr 21 12:40:03 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5729.  
  5730.     * sysdeps/posix/Makefile (before-compile): Add stdio_lim.h.
  5731.  
  5732.     * configure.in (signed size_t test): Remove 's from rhs of AC_DEFINE.
  5733.  
  5734.     * stdio/internals.c (seek_to_target): If __stdio_check_offset
  5735.     fails with ESPIPE, do nothing.
  5736.  
  5737.     * sysdeps/generic/printf_fp.c: For %e type, add K-1 to CUTOFF,
  5738.     rather than K.
  5739.     When there are no post-decimal digits, never write a decimal point
  5740.     for a %g spec unless it had a # modifier.
  5741.     Move K==-1 test to write decimal point before K==CUTOFF test to
  5742.     round and write last digit.
  5743.     Merge code for first post-decimal digit with code for remaining digits.
  5744.     Move code to write leading fractional zeros inside K<0 test which
  5745.     determines if any will be needed.
  5746.     In decimal fraction notation code, use R10 temporary instead of
  5747.     repeating (R * 10) twice.
  5748.  
  5749.     * stdio/fwrite.c: Only fail when __stdio_check_offset fails if it
  5750.     failed with ESPIPE.  If offset==-1, don't change it or target.
  5751.  
  5752.     * sysdeps/posix/defs.c (stdstream): Rearrange initializers, as
  5753.     FILE has been rearranged.  Set offset and target to -1, not 0.
  5754.  
  5755.     * sysdeps/posix/stdio_init.c: If STREAM isatty, set its seek
  5756.     function to NULL.  Unix bites.
  5757.  
  5758.     * stdio/ungetc.c: Call __flshfp if linebuf_active or put_limit>buffer.
  5759.  
  5760.     * sysdeps/unix/bsd/sun/sparc/start.c [__GNUC__ < 2]: #error.
  5761.  
  5762.     * time/mktime.c: Deansideclized.
  5763.     Don't include <errno.h> or <limits.h>; we don't need them.
  5764.     [DEBUG] (printtm): Made static.
  5765.     [HAVE_CONFIG_H]: Include "config.h".
  5766.     [__GNU_LIBRARY__ || HAVE_LIMITS_H]: Surround #include <limits.h>
  5767.     with these conditionals.
  5768.  
  5769.     * time/offtime.c (__mon_lengths): Move defn to mktime.c; replace
  5770.     with extern decl.
  5771.     * time/mktime.c (__mon_lengths): Define here; remove extern decl.
  5772.  
  5773. Mon Apr 19 18:42:59 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5774.  
  5775.     * sysdeps/stub/tempname.c: New file.
  5776.     * sysdeps/stub/sysd-stdio.c (__stdio_gen_tempname): Moved there.
  5777.     * sysdeps/posix/tempname.c: New file.
  5778.     * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Moved there.
  5779.  
  5780.     * stdio/fopen.c: Don't set the offset to zero.  That can falsely
  5781.     give the impression that an unseekable object is seekable.
  5782.  
  5783.     * stdio/internals.c (__flshfp): Discard any pushed back character
  5784.     first thing after sanity checks.
  5785.     (__flshfp): Deconditionalize code to call the output-room
  5786.     function; we always want to give it a chance to prime the stream.
  5787.     Remove code that reset bufp if put_limit==buffer.  We want to let
  5788.     the output-room function do that--that is priming the stream.
  5789.  
  5790. Fri Apr 16 12:24:21 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5791.  
  5792.     * Makerules ($(libc.a)): Depend on lib-noranlib and have ranlib
  5793.     command line.
  5794.     (lib): Just depend on $(libc.a).
  5795.  
  5796.     * sysdeps/unix/bsd/sun/sparc/start.c (init_shlib): Use __environ,
  5797.     not environ.
  5798.  
  5799.     * stdio/internals.c (__flshfp): Don't check that the buffer
  5800.     actually contains anything when setting the put_limit to the end of
  5801.     the buffer if linebuf_active.
  5802.     (__flshfp): To write C into the buffer !FLUSH_ONLY, don't check
  5803.     that bufp > buffer and get_limit == buffer.  Check against
  5804.     put_limit unless linebuf_active (in which case check against the
  5805.     real put_limit, fp->__buffer + fp->__bufsize).
  5806.     (__flshfp): Bother to call the output-room function if !FLUSH_ONLY
  5807.     or bufp > buffer and get_limit <= linebuf-corrected put_limit.
  5808.     (__flshfp): Check for a NULL output-room function before checking
  5809.     if C will fit in the buffer.
  5810.     (flushbuf): After putting C into the buffer,
  5811.     set BUFFER_WRITTEN to zero and goto end instead of returning.
  5812.  
  5813.     * stdio/ungetc.c: Test STREAM->__pushed_back before flushing the
  5814.     STREAM if it's writable.
  5815.  
  5816.     * posix/glob.c, posix/fnmatch.c: Surround code with 
  5817.     #if defined (_LIBC) || !defined (__GNU_LIBRARY__)
  5818.  
  5819. Thu Apr 15 19:35:59 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5820.  
  5821.     * string/tester.c (main): Added tests for strsep.
  5822.  
  5823.     * sysdeps/ieee754/frexp.c: New file.
  5824.  
  5825. Wed Apr 14 12:49:10 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5826.  
  5827.     * Makerules (ar-it): Add c flag to ar commands.
  5828.  
  5829.     * posix/glob.c [USG, NeXT]: Don't test these.
  5830.     [HAVE_STRING_H]: Test this to include string.h and define ANSI_STRING.
  5831.     [HAVE_MEMORY_H]: Test this instead of NEED_MEMORY_H.
  5832.     [! ANSI_STRING]: Put decls of bcopy and #define of memcpy et al here.
  5833.  
  5834.     * posix/fnmatch.c [HAVE_CONFIG_H]: #include "config.h".
  5835.  
  5836. Mon Apr 12 16:34:53 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5837.  
  5838.     * posix/glob.c: Rationalize directory header conditionals.
  5839.  
  5840. Sun Apr 11 18:53:50 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5841.  
  5842.     * stdio/internals.c: Remove __libc_fatal.
  5843.     * sysdeps/stub/sysd-stdio.c: Remove __stdio_errmsg.
  5844.     * sysdeps/posix/sysd-stdio.c: Likewise.
  5845.     * sysdeps/stub/libc_fatal.c, sysdeps/posix/libc_fatal.c: New files.
  5846.     * stdio/Makefile (routines): Add libc_fatal.
  5847.  
  5848.     * stdio/stdio.h (FILE): Add new member `__linebuf_active' (flag).
  5849.     Rearranged order of members slightly.
  5850.     * stdio/setvbuf.c: Clear the linebuf_active flag.
  5851.     * stdio/fseek.c: Likewise.
  5852.     * stdio/internals.c (__flshfp): Test linebuf_active, not linebuf,
  5853.     to decide to reset put_limit before calling the output-room function.
  5854.     After calling it, if line-buffered, set put_limit to the
  5855.     beginning of the buffer and set the linebuf_active flag.
  5856.     (__fillbf): If linebuf_active is set, reset put_limit to the end
  5857.     of the buffer, and clear the flag.
  5858.  
  5859.     * stdio/ungetc.c: If STREAM is writable and has something in its
  5860.     buffer, flush it.
  5861.  
  5862.     * stdio/internals.c (__fillbf): When flushing all line-buffered
  5863.     streams, don't test for their put_limits being > than their
  5864.     buffers.  We should let __flshfp figure it out.
  5865.  
  5866.     * stdio/setvbuf.c: Always set the put_limit to the beginning of
  5867.     the buffer.
  5868.  
  5869.     * stdio/stdio.h    (__putc): Rewritten to remove all knowledge of
  5870.     magic for line-buffered streams.  It now always calls __flshfp when
  5871.     the bufp hits the put_limit.
  5872.  
  5873.     * stdio/fwrite.c: When recalculating BUFFER_SPACE after calling
  5874.     __flshfp, ignore the put_limit for the sake of line-buffered streams.
  5875.  
  5876.     * stdio/fseek.c (fseek): Call __flshfp on STREAM unconditionally.
  5877.     We don't want to try to put the conditions for when it is
  5878.     necessary here as well.
  5879.  
  5880.     * sysdeps/generic/printf_fp.c: When deciding whether to use %e
  5881.     format for %g, break out of the loop on J as soon as F reaches
  5882.     FPNUM; after the loop, set TYPE to 'e' if J<0, meaning we went all
  5883.     the way through.
  5884.  
  5885.     * misc/getpass.c (TCSASOFT): Define to 0 if undefined.
  5886.     (getpass): Use a variable OUT to store the stream where output goes.
  5887.     Use a variable NREAD to notice how much was read; if the last char
  5888.     in the buffer is a newline, clobber it to a null terminator.
  5889.  
  5890.     * posix/fnmatch.h [__cplusplus || __STDC__]: Don't #define const.
  5891.  
  5892. Thu Apr  8 19:29:37 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5893.  
  5894.     * stdio/tst-printf.c (main): Added some floating-point tests.
  5895.  
  5896.     * sysdeps/unix/bsd/sequent/i386/__sigvec.S: New file.
  5897.  
  5898.     * sysdeps/unix/sysv/i386/__sigret.S: Moved to sysdeps/unix/i386.
  5899.     Use DO_CALL instead of magic.
  5900.  
  5901.     * sysdeps/unix/bsd/i386/__wait3.S: Use DO_CALL instead of magic.
  5902.     Use scratch instead of %ecx and r1 instead of %edx.
  5903.  
  5904.     * sysdeps/unix/bsd/i386/__vfork.S: Rewritten to not use SYSCALL__.
  5905.     Use DO_CALL instead, and save the return PC in a register around
  5906.     the trap.
  5907.  
  5908.     * sysdeps/unix/i386/sysdep.h (DO_CALL): New macro to do syscall trap.
  5909.     (PSEUDO): Use it instead of putting the code here.
  5910.  
  5911.     * stdio/vfprintf.c (number): Write "0x" before padding, not after.
  5912.  
  5913.     * sysdeps/unix/bsd/sequent/i386/sysdep.h: New file.
  5914.  
  5915.     * sysdeps/unix/bsd/__setuid.c: #include <sys/types.h>.
  5916.     Change argument type to uid_t.
  5917.     * sysdeps/unix/bsd/__setgid.c: #include <sys/types.h>.
  5918.     Change argument type to gid_t.
  5919.  
  5920.     * sysdeps/unix/common/__getgrps.c: Restore errno after erroneous
  5921.     syscall failure.
  5922.  
  5923.     * stdio/tst-printf.c (fp_test): New function, batch of tests from
  5924.     a bug report.
  5925.     (main): Call it.
  5926.  
  5927. Wed Apr  7 17:17:17 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5928.  
  5929.     * sysdeps/generic/pow.c (pow_p): Don't initialize K; was a dead store.
  5930.  
  5931. Mon Apr  5 21:17:58 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5932.  
  5933.     * sysdeps/unix/common/__getgrps.c: If __bsd_getgroups returns an
  5934.     error and SIZE==0, alloc temp space for NGROUPS_MAX elts and call
  5935.     it again on that, so we can find the number of groups.
  5936.  
  5937.     * stdio/__vfscanf.c (input_error): If DONE is nonzero, return it;
  5938.     else return EOF.
  5939.     (%c): Don't check for C==EOF at the end; let the following spec get it.
  5940.     (%[eEfgG]): EOF after sign is conv_error, not input error.
  5941.  
  5942.     * sysdeps/unix/common/__getgrps.c: If gid_t==int, pass LIST to
  5943.     __bsd_getgroups, not NULL.
  5944.     No error for SIZE > NGROUPS_MAX.
  5945.  
  5946. Sun Apr  4 18:52:34 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5947.  
  5948.     * sysdeps/unix/{bsd,sysv}/i386/Implies: Files removed.
  5949.     They should no longer be necessary, since configure now tries more
  5950.     sysdeps directory permutations.
  5951.  
  5952.     * sysdeps/unix/bsd/{i386,sun/sparc,hp/m68k,ultrix4/mips}/__set[ug]id.S:
  5953.     Files removed.  They should no longer be necessary, since the new
  5954.     sysdeps scheme should find unix/bsd/__set[gu]id.c before
  5955.     unix/__set[gu]id.S.
  5956.  
  5957.     * sysdeps/unix/i386/__pipe.S: Use r1 in place of %edx and scratch
  5958.     in place of %ecx.
  5959.     * sysdeps/unix/i386/__wait.S: Likewise.
  5960.     * sysdeps/unix/i386/__fork.S: Use r1 in place of %edx and r0 in
  5961.     place of %eax.
  5962.     * sysdeps/unix/i386/__vfork.S: Likewise.
  5963.     * sysdeps/unix/i386/sysdep.h (scratch): #define as %ecx.
  5964.     * sysdeps/unix/sysv/i386/linux/sysdep.h: Likewise.
  5965.  
  5966.     * configure.in ($uname = generic): Set kernel_{version,release} to
  5967.     empty before all else.
  5968.     If /vmunix doesn't exist, try grovelling over /dynix instead.
  5969.  
  5970.     * sysdeps/unix/Makefile (syscall.h): Double $ in sed cmd.
  5971.  
  5972. Fri Apr  2 15:15:44 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5973.  
  5974.     * configure.in (config_vars): New variable; text to go in config.make.
  5975.     Use AC_HEADER_EGREP to grovel stdarg.h for __gnuc_va_list and set
  5976.     stdarg.h in config_vars if we find it.
  5977.  
  5978.     * sysdeps/unix/bsd/sun/sunos4/tcsendbrk.c,
  5979.     sysdeps/unix/bsd/sun/sunos4/tcflow.c,
  5980.     sysdeps/unix/bsd/sun/sunos4/tcflush.c,
  5981.     sysdeps/unix/bsd/sun/sunos4/tcsetattr.c,
  5982.     sysdeps/unix/bsd/sun/sunos4/__tcgetatr.c: New files.
  5983.  
  5984.     * sysdeps/unix/Makefile (syscall.h): Add sed cmd to terminate
  5985.     unterminated comments at the ends of lines.
  5986.  
  5987.     * sysdeps/posix/getcwd.c: Deansideclized and added four tons of
  5988.     portability goop.
  5989.  
  5990. Mon Mar 29 13:18:43 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  5991.  
  5992.     * sysdeps/unix/bsd/sun/sunos4/speed.c: New file.
  5993.  
  5994.     * sysdeps/generic/termbits.h: New file, contents taken from termios.h.
  5995.     * termios/termios.h: Remove type & macro defns; #include <termbits.h>.
  5996.     [__OPTIMIZE__] (cf[gs]et[io]speed): Remove macro versions.  They
  5997.     just cause trouble because they want to be in termbits.h (since
  5998.     they are sysdep) and also to come after the prototypes (which must
  5999.     come after termbits.h to get speed_t and struct termios defined).
  6000.     The optimization was insignificant anyway.
  6001.     * termios/speed.c: Moved to sysdeps/generic.
  6002.  
  6003.     * termios/cfsetspeed.c: Call cfset[io]speed, rather than doing it
  6004.     ourselves.
  6005.  
  6006.     * time/__tzset.c (tz_rule): Make member `secs' not a bitfield.
  6007.     (compute_change): Complete rewrite; code basically stolen from
  6008.     localtime3/localtime.c:transtime.
  6009.     #include "tzfile.h" for SECSPERDAY; #define NOID first.
  6010.  
  6011.     * sysdeps/unix/bsd/i386/__vfork.S: Don't try to #include __fork.S.
  6012.     Instead, copy that code here and change `fork' to `vfork'.
  6013.  
  6014.     * Makeconfig (+default_cflags): Rename to default_cflags.
  6015.     (+cflags): Use that name.
  6016.  
  6017.     * Makefile (configure): New rule.
  6018.  
  6019. Sun Mar 28 16:12:33 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6020.  
  6021.     * posix/fnmatch.c (case '*'): Before final loop, fold C1, rather
  6022.     than foling *P before it goes into C1.  C might need folding instead.
  6023.  
  6024.     * posix/Makefile (tests): Add testfnm.
  6025.     * posix/testfnm.{c,args}: New files.
  6026.  
  6027. Fri Mar 26 15:04:27 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6028.  
  6029.     * time/mktime.c: Wholly new implementation from Noel Cragg.
  6030.  
  6031.     * sysdeps/unix/bsd/sun/__sigret.S: New file.
  6032.     * sysdeps/unix/bsd/sun/m68k/{Makefile,Dist}: New files.
  6033.     * sysdeps/unix/bsd/sun/m68k/{sigcontext.h,sigtramp.c}: New files.
  6034.     * sysdeps/unix/bsd/sun/sparc/__sigvec.S: Moved to sysdeps/unix/bsd/sun.
  6035.  
  6036.     * Makefile (clean): Remove sysd-Makefile, sysd-dirs, sysdirs
  6037.     (distclean): New target.
  6038.     * sysdeps/unix/common/Makefile (generated): Add local_lim.h,
  6039.     mk-local_lim, glue-ctype, glue-ctype.c, siglist.c, make_siglist.
  6040.     * sysdeps/generic/Makefile (generated): Add bytesex.h,
  6041.     det_endian, siglist.c, make_siglist.
  6042.     * sysdeps/unix/Makefile (generated): Add errnos.h, errnos,
  6043.     make-errnos, make-errnos.c, ioctls.h, ioctls, make-ioctls,
  6044.     make-ioctls.c, errlist.c, make_errlist, syscall.h, sys/param.h,
  6045.     param.h.c, param.h.dep, $(sys/param.h-includes).
  6046.  
  6047.     * misc/Makefile (extra-objs): Define new var to include bsd-compat.o.
  6048.  
  6049. Fri Mar 26 14:53:30 1993  Michael John Haertel  (mike@skinner.cs.uoregon.edu)
  6050.  
  6051.     * malloc/malloc.c (malloc): Start searching at _heapindex, not
  6052.     MALLOC_SEARCH_START.
  6053.     * malloc/malloc.h (MALLOC_SEARCH_START): Macro removed.
  6054.     * malloc/realloc.c (realloc): When malloc returns NULL, handle the
  6055.     case of the block we need to unfree (which was just freed) having
  6056.     been coalesced with its neighbors.
  6057.  
  6058. Thu Mar 25 13:40:17 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6059.  
  6060.     * Rules (all): Depend on others.
  6061.  
  6062.     * time/Makefile (zonenames): Change target to $(objpfx)zonenames.
  6063.     Make the generated file prepend $(objpfx) to 
  6064.     Include that instead of zonenames.
  6065.     (zones-%): Change target to $(objpfx)zones-%.
  6066.  
  6067.     * Makefile ($(objpfx)Mcrt1.o): Put temporary Mcrt1.c file in
  6068.     $(objdir), rather than the current directory.
  6069.  
  6070.     * configure.in (arg parsing): Recognize `--exec-prefix' rather
  6071.     than `--exec_prefix'.
  6072.  
  6073.     * Rules (mostlyclean): Remove the .o files for $(tests) and $(others).
  6074.     Remove $(objpfx)depend-$(subdir).
  6075.     (clean): Remove $(extra-objs).
  6076.     * Makefile (clean): Remove $(install-lib) from $(objdir).
  6077.     Don't try to remove ansi/ and trad/ or dist.tar or lint.out.
  6078.     Remove $(objpfx)depend-.
  6079.     * time/Makefile (extra-objs): Define new var.
  6080.     * malloc/Makefile (extra-objs): Likewise.
  6081.  
  6082.     * Rules (+objs): Variable removed.
  6083.     (clean): Use $(objects) in place of $(+objs).
  6084.  
  6085.     * sysdeps/unix/Makefile (sys/param.h-includes): Move all this
  6086.     outside of ifeq ($(subdir),misc).
  6087.     Fixed sed command to filter out [hn]to[nh][sl].
  6088.     (sys/param.h-includes): New target; dep on $(sys/param.h-includes).
  6089.  
  6090.     * posix/fnmatch.h [!_POSIX_C_SOURCE || ...]: Make this test
  6091.     _GNU_SOURCE, not _BSD_SOURCE; these are our extensions, not theirs.
  6092.     (FNM_CASEFOLD): New bit.
  6093.     (__FNM_FLAGS): Removed macro.
  6094.     * posix/fnmatch.c (fnmatch): Don't test for bogus flag bits; who cares?
  6095.     (FOLD): New macro to casefold a char if FNM_CASEFOLD.
  6096.     Use it to fold all chars before comparison.
  6097.  
  6098. Wed Mar 24 16:09:26 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6099.  
  6100.     * malloc/Makefile (malloc/%.c, malloc/%.h): Rules removed.
  6101.  
  6102.     * stdio/stdio.h (fopencookie): Rename parameter IO_FUNCTIONS to
  6103.     IO_FUNCS.  The former conflicted with a typedef name, which ist
  6104.     verboten.
  6105.  
  6106.     * time/sys/time.h (enum __itimer_which): Remove trailing comma.
  6107.  
  6108. Mon Mar 22 15:35:54 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6109.  
  6110.     * malloc/malloc.h [_MALLOC_INTERNAL]
  6111.     [__GNU_LIBRARY__ || STDC_HEADERS || USG] (memmove): Define in
  6112.     terms of bcopy.
  6113.     * malloc/malloc/gmalloc-head.c: Redo previously undone change.
  6114.  
  6115. Thu Mar 18 04:59:21 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6116.  
  6117.     * malloc/malloc/gmalloc-head.c: Undo previous change.
  6118.  
  6119. Wed Mar 17 12:22:21 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6120.  
  6121.     * mach/mach.h: New file.
  6122.  
  6123.     * Rules (clean): Remove $(generated), not $(clean-extras).
  6124.     (subdir_echo-distinfo): Use $(generated) instead of $(dont_distribute).
  6125.     (generated): Export this instead of dont_distribute.
  6126.     * stdlib/Makefile (generated): Set this, not dont_distribute.
  6127.     * sysdeps/posix/Makefile: Likewise.
  6128.     * sysdeps/unix/sysv/Makefile: Likewise.
  6129.     * sysdeps/unix/Makefile: Likewise.
  6130.     * Makefile (generated): Export this instead of dont_distribute.
  6131.     (parent_echo-distinfo): Use $(generated) instead of $(dont_distribute).
  6132.     * Make-dist (+tsrcs): Filter out $(generated), not $(dont_distribute).
  6133.  
  6134.     * mach/mach_init.h (__mach_task_self): Define so as not an lvalue.
  6135.     (mach_task_self): Surround defn with parens.
  6136.  
  6137.     * sysdeps/unix/Makefile (sys/param.h): Put "#include <endian.h>" in.
  6138.     ($(sys/param.h-includes)): Edit out #define's of *_ENDIAN and
  6139.     BYTE_ORDER.
  6140.  
  6141.     * stdlib/tst-strtol.c (tests): Fully bracket initializers.
  6142.  
  6143.     * stdio/bug4.c: Change #ifdef LIBC to #ifdef _LIBC.
  6144.  
  6145.     * misc/progname.c (set_progname): Make a useless reference to
  6146.     set_progname to avoid a `defined but not used' warning.
  6147.  
  6148.     * sysdeps/mach/i386/start.c (_cthread_{init,exit}_routine): Remove
  6149.     `extern'; these want to be uninitialized common defns.
  6150.  
  6151. Mon Mar 15 18:41:05 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6152.  
  6153.     * sysdeps/unix/bsd/__times.c (timeval_to_clock_t): Put __inline
  6154.     before storage class in defn.
  6155.  
  6156.     * sysdeps/unix/sysv/signum.h (SIG_ERR, SIG_DFL, SIG_IGN): Cast
  6157.     values to __sighandler_t, rather than obsolete ansidecl magic.
  6158.  
  6159.     * sysdeps/unix/__execve.S [!SYS_execve && SYS_exece]: Define
  6160.     SYS_execve to be SYS_exece.
  6161.  
  6162.     * sysvipc: New directory.
  6163.     * sysvipc/Makefile: New file.
  6164.     * sysvipc/sys/ipc.h: New file.
  6165.  
  6166. Fri Mar 12 15:31:44 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6167.  
  6168.     * posix/execlp.c (execlp): Remove spurious second declared parameter.
  6169.     Don't fill ARGV[0] specially; just let the loop do it.
  6170.     * posix/unistd.h (execlp): Remove spurious second declared parameter.
  6171.  
  6172. Thu Mar 11 13:58:47 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6173.  
  6174.     * Makerules (sysd-Makefile): Write %.dep: %.S and %.dep: %.c rules.
  6175.     Depend on Makerules.
  6176.     ($(objpfx)%.{o,dep}: $(objpfx)/%.{S,c,s}): New rules to find
  6177.     sources in $(objpfx) before sysdep directories.
  6178.  
  6179.     * configure.in (signed size_t check): Use eval on $CPP, since it
  6180.     contains unexpanded variable refs.
  6181.     Send grep output to /dev/null.
  6182.     Put quotes around 'unsigned long int'.
  6183.  
  6184. Wed Mar 10 18:32:11 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6185.  
  6186.     * features.h [! _LIBC]: #include <stubs.h>.
  6187.     * Makerules (stubs): New phony target.
  6188.     ($(common-objpfx)stub-$(subdir)): New target.
  6189.     * Makefile (headers): Add stubs.h.
  6190.     ($(objpfx)stubs.h): New target.
  6191.  
  6192.     * Makeconfig (CPPFLAGS): Define _LIBC, not LIBC.
  6193.  
  6194.     * Makerules (.SUFFIXES): Remove .m4; we no longer have any such files.
  6195.  
  6196.     * inet/netinet/in.h: Don't #include <inet-cvt.h>.
  6197.     (ntohl, ntohs, htonl, htons): Declare.
  6198.     #include <endian.h>.
  6199.     [__BYTE_ORDER == __BIG_ENDIAN] (ntohl, ntohs, htonl, htons):
  6200.     Define no-op macros.
  6201.     * inet/Makefile (headers): Remove inet-cvt.h.
  6202.     * sysdeps/vax/inet-cvt.h, sysdeps/generic/inet-cvt.h: Files removed.
  6203.     * sysdeps/generic/{ntohl,ntohs,htonl,htons}.c
  6204.     [BYTE_ORDER == LITTLE_ENDIAN]: Byte-swap X before returning it.
  6205.  
  6206. Tue Mar  9 11:32:35 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6207.  
  6208.     * malloc/malloc/gmalloc-head.c: Remove #definitions of memset,
  6209.     memcpy, and memmove; this is taken care of by malloc.h anyway.
  6210.  
  6211. Mon Mar  8 15:12:32 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6212.  
  6213.     * sysdeps/mips/jmp_buf.h (JB_PC): Protect with #ifdef __USE_MISC.
  6214.  
  6215.     * sysdeps/unix/sysv/sysv4/sigaction.h: Put SA_* except for
  6216.     SA_NOCLDSTOP inside #ifdef __USE_MISC.
  6217.  
  6218. Mon Mar  8 15:05:13 1993  Brendan Kehoe  (brendan@lisa.cygnus.com)
  6219.  
  6220.     * sysdeps/mips/jmp_buf.h (jmp_buf): Use `__ptr_t', not `PTR', for
  6221.     member types.
  6222.     (JB_PC): New define, for backwards compatability with Ultrix.
  6223.  
  6224.     * sysdeps/unix/sysv/sysv4/sigaction.h: New file.
  6225.  
  6226. Mon Mar  8 13:20:02 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6227.  
  6228.     * posix/glob/Makefile.in (VPATH): Set this to @srcdir@.
  6229.     (srcdir): Set this to $(VPATH).
  6230.  
  6231.     * posix/glob.c (glob): In no matches with GLOB_NOCHECK set case,
  6232.     add NULL terminator to PGLOB->gl_pathv.
  6233.     (prefix_array): Renamed arg PREFIX to DIRNAME, local var PRELEN to
  6234.     DIRLEN.  If DIRNAME is just "/", don't prepend it, so we get
  6235.     "/foo" instead of "//foo".
  6236.     (glob): Move qsort call outside of the else clause of the
  6237.     glob_pattern_p test; it should always be done.
  6238.  
  6239. Thu Feb 25 14:49:52 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6240.  
  6241.     * malloc/malloc.h [_MALLOC_INTERNAL]: Move #include <stdio.h> to
  6242.     front of file; it needs to come before size_t/ptrdiff_t frobnication.
  6243.  
  6244. Wed Feb 24 16:34:58 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6245.  
  6246.     * Makerules (compile-command.[Ssc]): New variables; define them if
  6247.     they are not already defined.
  6248.     (sysd-Makefile): For each directory, write three rules:
  6249.         %.o: $dir/%.[Ssc]; $(compile-command.[Ssc]).
  6250.     (sysdep_path): Remove definition and vpath directives.
  6251.     * sysdeps/m68k/Makefile (compile-command.S): Define our own version.
  6252.     ($(objpfx)%.o: %.S): Rule removed.
  6253.  
  6254.     * sysdeps/unix/sysv/linux/{__dup2,__mkdir,__rmdir,__setpgrp}.S:
  6255.     Removed.
  6256.     * sysdeps/unix/sysv/linux/Implies: Created; implies unix/common.
  6257.  
  6258.     * sysdeps/unix/sysv/sysv4/{sete[gu]id.S,fchdir.S,signum.h,__sigproc.S}:
  6259.     New files.
  6260.  
  6261.     * sysdeps/unix/sysv/sysv4/time.S: New file.
  6262.  
  6263.     * sysdeps/unix/common/Dist: New file; everything from
  6264.     sysdeps/unix/bsd/Dist except for bsdtty.h and bsddir.h.
  6265.     * sysdeps/unix/bsd/Dist: Remove things now in sysdeps/unix/common/Dist.
  6266.  
  6267.     * sysdeps/unix/bsd/sun/sparc/{__brk.c,__fork.S,__pipe.S,__vfork.S}:
  6268.     Moved to new directory sysdeps/unix/sparc.
  6269.  
  6270.     * sysdeps/unix/common/Implies: New file, in new directory; implies
  6271.     unix/inet only.
  6272.     * sysdeps/unix/bsd/Implies, sysdeps/unix/sysv/sysv4/Implies: New
  6273.     files; both imply unix/common.
  6274.     * sysdeps/unix/common/Makefile: Moved from sysdeps/unix/bsd.
  6275.     Changed references to unix/bsd to unix/common.
  6276.     * unix/bsd/{__access.S,__adjtime.S,__fchmod.S,__fchown.S,__getgrps.c,
  6277.     __getitmr.S,__getpgrp.S,__getrusag.S,__gettod.S,__lstat.S,__mkdir.S,
  6278.     __readlink.S,__rmdir.S,__setitmr.S,__setpgrp.S,__symlink.S,
  6279.     bsd_getgrp.S,closedir.c,ftruncate.S,getrlimit.S,glue-ctype.c,
  6280.     make_siglist.c,mk-local_lim.c,opendir.c,readv.S,rename.S,rewinddir.c,
  6281.     seekdir.c,setgroups.S,setrlimit.S,telldir.c,truncate.S,vhangup.S,
  6282.     writev.S,__dup2.S}: Moved to sysdeps/unix/common.
  6283.     * sysdeps/unix/sysv/sysv4/{__access.S,closedir.c,opendir.c,
  6284.     rewinddir.c,seekdir.c,telldir.c}: Removed.
  6285.  
  6286. Mon Feb 22 12:19:19 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6287.  
  6288.     * sysdeps/generic/pow.c (pow): Use __isnan to test for NaN rather
  6289.     than expecting "x!=x" to work.
  6290.     (pow_p): When testing if Y is an integer, use long int rather than
  6291.     int; they are different on some systems.  Compare against
  6292.     LONG_MIN+1, not LONG_MIN; (long int) (double) LONG_MIN might overflow.
  6293.  
  6294.     * malloc/dist-Makefile (gmalloc.c): Depend on Makefile.
  6295.  
  6296.     * malloc/Makefile (gmalloc-routines): New variable.
  6297.     (dist-routines): Use it.
  6298.     (malloc/Makefile): Also replace <GMALLOC-SOURCES> with
  6299.     $(gmalloc-routines).
  6300.     (malloc/Makefile): Make it unwritable to avoid accidental lossage.
  6301.     Depend on Makefile.
  6302.  
  6303.     * malloc/dist-Makefile (gmalloc): New variable: <GMALLOC-SOURCES>.
  6304.     (gmalloc.c): Use $(gmalloc), not $(sources).
  6305.     Make the file unwritable to avoid accidental lossage.
  6306.  
  6307.     * malloc/mtrace.c: Don't #include <stdio.h> because <malloc.h> did
  6308.     it for us.
  6309.  
  6310.     * malloc/valloc.c [! __GNU_LIBRARY__]: Replace hairy conditionals
  6311.     with #include "getpagesize.h".
  6312.     * malloc/Makefile (distribute, malloc-dist): Add getpagesize.h.
  6313.  
  6314. Sun Feb 21 18:29:30 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6315.  
  6316.     * sysdeps/sparc/Makefile (nodist-routines): Don't define.
  6317.     We want to distribute the generated divrem files; otherwise anyone
  6318.     building the library must have an m4 that works.
  6319.     ($(divrem).S): Put these in sysdeps/sparc, not in $(objdir).
  6320.     (routines): Only put this inside ifeq ($(subdir),gnulib).
  6321.  
  6322.     * sysdeps/unix/bsd/sun/m68k/Makefile: File removed.
  6323.  
  6324. Sat Feb 20 16:43:55 1993  Torbjorn Granlund  (tege@sics.se)
  6325.  
  6326.     * sysdeps/i386/memset.c: Move adjustment of LEN before first stosb.
  6327.     * sysdeps/i386/bzero.c: Likewise.
  6328.  
  6329. Thu Feb 18 14:34:00 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6330.  
  6331.     * malloc/mcheck.c (checkhdr): Use `const', not `__const'.
  6332.  
  6333. Mon Feb  1 19:19:13 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6334.  
  6335.     * sysdeps/m68k/fpu/__logb.c: Use two-operand forms of 68881 insns
  6336.     rather than the one-operand source==dest form.  Sun's sun3
  6337.     assembler apparently doesn't grok the one-operand form.
  6338.  
  6339.     * sysdeps/posix/getcwd.c: Call __lstat instead of stat.
  6340.     We should not lose on nonexistent symlink targets.
  6341.  
  6342. Thu Jan 21 20:12:25 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6343.  
  6344.     * posix/glob.c: Put #includes of <glob.h> and <fnmatch.h> after
  6345.     all system includes, in case one of them has conflicting defns of
  6346.     FNM_* or GLOB_*, so we will redefine.  #undef FNM_* and GLOB_*
  6347.     before including our headers.
  6348.  
  6349. Tue Jan 19 16:16:05 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6350.  
  6351.     * mach/Makefile (routines): Removed __bcopy.
  6352.     * mach/__bcopy.c: File removed.
  6353.  
  6354.     * posix/glob.c (my_realloc): Cast result of malloc/realloc to (char *).
  6355.  
  6356. Sat Jan 16 14:19:07 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6357.  
  6358.     * manual/summary.awk: Handle single word in braces.
  6359.  
  6360. Thu Jan 14 13:52:43 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6361.  
  6362.     * posix/glob/Makefile.in (realclean): Remove Makefile.
  6363.  
  6364. Mon Jan 11 18:32:56 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6365.  
  6366.     * sysdeps/unix/bsd/sony/m68k/Implies: Imply unix/bsd/hp/m68k, not
  6367.     unix/hp/m68k.
  6368.  
  6369.     * sysdeps/unix/bsd/tcsetattr.c: Use cbreak mode if ISIG is set,
  6370.     not if OPOST is set.
  6371.     Fixed typo in TOSTOP frobbing.
  6372.  
  6373. Tue Jan  5 15:11:31 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6374.  
  6375.     * posix/Makefile (glob.tar): Include glob/configure.in.
  6376.  
  6377. Mon Jan  4 17:05:44 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6378.  
  6379.     * posix/glob/Makefile.in (RANLIB): Define to @RANLIB@.
  6380.     (RANLIB_TEST): Removed.
  6381.     (libglob.a): Don't use it.
  6382.  
  6383. Thu Dec 31 13:08:20 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6384.  
  6385.     * sysdeps/unix/bsd/bsd4.4/{chflags,fchflags,setlogin}.S: Fix arg count.
  6386.  
  6387.     * sysdeps/posix/Makefile (mk-stdiolim): Use $(cded-objdir-CPPFLAGS).
  6388.     (cded-objdir-CPPFLAGS): Define new var.
  6389.  
  6390.     * sysdeps/unix/Makefile ($(sys/param.h-includes)): Strip trailing
  6391.     slash from directory name for mkdir.
  6392.  
  6393. Tue Dec 29 18:18:58 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6394.  
  6395.     * sysdeps/posix/sysd-stdio.c (exists): Return true if stat fails
  6396.     with other than ENOENT.
  6397.  
  6398.     * sysdeps/posix/__flock.c: New file.
  6399.  
  6400.     * malloc/Makefile (dist-headers): Define to malloc.h.
  6401.     (headers): Replace malloc.h with $(dist-headers).
  6402.     (malloc/Makefile): Use $(dist-headers) in place of $(headers).
  6403.     (malloc-dist, distribute): Replace ChangeLog with OChangeLog.
  6404.  
  6405.     * malloc/dist-Makefile (malloc.tar{,.Z}): Depend on FORCE.
  6406.     (FORCE): Define empty target.
  6407.  
  6408. Tue Dec 29 16:45:01 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6409.  
  6410.     * sysdeps/sparc/{umul,mul}.S: Use tege's shift+mask hack to avoid
  6411.     a test and branch for sign fixup.
  6412.  
  6413.     * limits.h [__GNUC__ >= 2]: #ifndef _GCC_LIMITS_H_, not _LIMITS_H_,
  6414.     to #include_next <limits.h>.
  6415.  
  6416.     * sysdeps/posix/getcwd.c: Call closedir after copying from the
  6417.     `struct dirent' buffer, not before.  That buffer is freed by closedir.
  6418.  
  6419.     * posix/gnu/types.h (__fd_set): Renamed member to `fds_bits' for
  6420.     compatibility with braindead extant code.
  6421.  
  6422.     * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Check for BUF
  6423.     being too small before doing sprintf.
  6424.  
  6425.     * malloc/malloc.h [_MALLOC_INTERNAL], malloc/valloc.c
  6426.     [HAVE_CONFIG_H]: #include "config.h".
  6427.  
  6428.     * Makefile (doc): Removed rule.
  6429.     (dvi, info): New rule.
  6430.  
  6431. Mon Dec 28 15:50:31 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6432.  
  6433.     * posix/glob.c [HAVE_CONFIG_H]: Test this, not SHELL, to decide
  6434.     whether or not we want to #include "config.h".
  6435.  
  6436. Wed Dec 16 12:01:09 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6437.  
  6438.     * inet/Makefile (routines): Removed ruserpass.  Why did it get
  6439.     included in the first place?  That version does not match the one
  6440.     in the NET2 ftp source; whence came it?
  6441.  
  6442. Sat Dec 12 16:41:03 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6443.  
  6444.     * sysdeps/unix/bsd/sun/sparc/start.c: Use .set, not GNU ld magic,
  6445.     to alias asm symbol `start' to `__start'.
  6446.  
  6447. Fri Nov 20 18:20:50 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6448.  
  6449.     * stdio/vfprintf.c (%p): Tests of LEFT for "(nil)" were inverted.
  6450.  
  6451.     * stdio/tst-printf.c (main): Add `printf ("%#03x\n", 1);'.
  6452.     Add a width to %p test.
  6453.  
  6454.     * stdio/vfprintf.c (unsigned_integer): Clear SHOWSIGN and SPACE
  6455.     flags before falling into `number:'.  The `+' and ` ' flags are
  6456.     only meaningful for signed numbers.
  6457.  
  6458.     * string/tester.c (main): For strstr #11, correct return is first
  6459.     arg, not end of first arg.
  6460.  
  6461.     * stdlib/mbtowc.c: If S is "", return 0.  How was I convinced
  6462.     before that this is not what ANSI says?
  6463.  
  6464.     * stdio/__vfscanf.c: Initialize MALLOC_STRING to zero on each
  6465.     iteration (when we zero is_short et al).
  6466.  
  6467.     * sysdeps/posix/mkstemp.c (mkstemp): New file.
  6468.     * sysdeps/stub/mkstemp.c (mkstemp): New file.
  6469.     * misc/Makefile (routines): Add mkstemp.
  6470.  
  6471.     * sysdeps/posix/mktemp.c: Use `getpid ()' in place of undefined
  6472.     variable PID.
  6473.     #include <sys/stat.h>.
  6474.  
  6475.     * dirent/scandir.c: If SELECT is nil, don't try to call it.
  6476.     If CMP is nil, don't sort.
  6477.  
  6478. Wed Nov 18 13:42:09 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6479.  
  6480.     * sysdeps/stub/__wait4.c: Changed type of 2nd arg to __WAIT_STATUS.
  6481.  
  6482.     * posix/sys/wait.h (__WAIT_STATUS): #if 0 out gcc2 magic defn.
  6483.     GCC is broken as of 2.3.1.
  6484.  
  6485.     * signal/signal.h (__sigaction, sigaction): Fixed type in
  6486.     prototype from `struct __sigaction' to `struct sigaction'.
  6487.  
  6488.     * sysdeps/m68k/fpu/atan2.c (PI, PIo4, PIo2): Removed static vars.
  6489.     (atan2): Declare PIo4 and PIo2 locally, and compute them from pi.
  6490.  
  6491.     * Makerules (native-CFLAGS): Define as $(config-defines).
  6492.  
  6493.     * sysdeps/unix/bsd/glue-ctype.c: Upcased all HAVE_* names in #ifdef's.
  6494.  
  6495.     * posix/fnmatch.h (FNM_LEADING_DIR): New flag.
  6496.     * posix/fnmatch.c (fnmatch): Support it.
  6497.  
  6498.     * sysdeps/i386/bytesex.h: New file.
  6499.     * sysdeps/i386/endian.h: Removed.
  6500.     * sysdeps/stub/bytesex.h: New file.
  6501.     * sysdeps/stub/endian.h: Removed.
  6502.     * sysdeps/generic/Makefile (bytesex.h): Create with det_endian.
  6503.     (endian.h): Removed old rule.
  6504.     (before-compile): Replace endian.h with bytesex.h.
  6505.     * string/Makefile (headers): Add bytesex.h.
  6506.     * string/endian.h: New file.
  6507.     * sysdeps/generic/det_endian.c: Rewritten to output just one line,
  6508.     a #define of __BYTE_ORDER to 1234, or 4321, etc.
  6509.     * inet/arpa/nameser.h: #include <endian.h>, rather than #ifdef'ing
  6510.     on misc. things to #define BYTE_ORDER.
  6511.     * sysdeps/generic/waitstatus.h: Test value of __BYTE_ORDER, not
  6512.     whether __LITTLE_ENDIAN is #define'd.
  6513.     * sysdeps/generic/mathimpl.h: Likewise.
  6514.     * sysdeps/generic/memcopy.h: Likewise.
  6515.     * sysdeps/ieee754/huge_val.h: Likewise.
  6516.     * sysdeps/ieee754/nan.h: Likewise.
  6517.     * sysdeps/ieee754/ieee754.h: Likewise.
  6518.  
  6519. Mon Nov 16 12:19:10 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6520.  
  6521.     * Makeconfig (ARCH): Define to empty if $(..)config.make exists.
  6522.  
  6523.     * misc/getusersh.c (initshells): malloc (STATB.st_size + 1), to
  6524.     contain the terminating NUL.  Pass fgets the real amount of space
  6525.     left in the buffer, instead of the random number (MAXPATHLEN + 1).
  6526.  
  6527.     * configure.in (minix*): base_os=unix/sysv.
  6528.     * sysdeps/unix/sysv/minix/sigaction.h: New file.
  6529.  
  6530.     * sysdeps/generic/sigaction.h (__SA_*): Renamed to SA_*.
  6531.     [__USE_BSD]: Put all but SA_NOCLDSTOP under this #ifdef.
  6532.     * signal/signal.h (SA_*): Remove #define's.
  6533.     (SIG_*): Moved #define's to sigaction.h.
  6534.  
  6535.     * sysdeps/generic/sigset.h (__sigmask): Shift ((sigset_t) 1), not
  6536.     just 1.
  6537.  
  6538.     * signal/signal.h (kill): Fix type of first arg to __pid_t, not int.
  6539.  
  6540.     * sysdeps/unix/Makefile (errnos): Changed regexp to disallow
  6541.     E[^A-Z0-9], and not to require that the defn be numeric only.
  6542.  
  6543.     * stdlib/stdlib.h: Don't #include <huge_val.h>; ANSI doesn't say
  6544.     <stdlib.h> defines HUGE_VAL.
  6545.  
  6546.     * stdlib/stdlib.h (__compar_fn_t): Use __P around prototype.
  6547.  
  6548.     * posix/Makefile (headers): Add utsnamelen.h, so it gets installed.
  6549.     (distribute): Remove it from here.
  6550.  
  6551.     * setjmp/setjmp.h (sigjmp_buf): Rename `__savemask' to
  6552.     `__mask_was_saved' and `__sigmask' to `__saved_mask'.
  6553.     * setjmp/sigjmp_save.c (__sigjmp_save): Change use.
  6554.     * setjmp/siglongjmp.c (siglongjmp): Likewise.
  6555.  
  6556. Fri Nov 13 17:34:00 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6557.  
  6558.     * configure.in (config.make): Write assignments for INSTALL,
  6559.     INSTALL_PROGRAM, INSTALL_DATA, and RANLIB.
  6560.  
  6561. Thu Nov 12 17:11:18 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6562.  
  6563.     * sysdeps/stub/stime.c: #include <stddef.h> for NULL.
  6564.  
  6565.     * sysdeps/stub/morecore.c: Fixed arg type to ptrdiff_t.
  6566.  
  6567.     * sysdeps/stub/ptrace.c: Fixed `va_start' uses to pass 2nd arg.
  6568.  
  6569.     * sysdeps/unix/sysv/sysv4/fcntlbits.h: New file, modified from
  6570.     unix/bsd/sun/sunos4 version.
  6571.  
  6572.     * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: New file, modified from
  6573.     unix/bsd version.
  6574.  
  6575.     * sysdeps/unix/bsd/ultrix4/fcntlbits.h: New file, modified from
  6576.     unix/bsd version.
  6577.  
  6578.     * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: New file, modified from
  6579.     unix/bsd version.
  6580.  
  6581.     * sysdeps/unix/sysv/fcntlbits.h: Rewritten from stub version.
  6582.     * sysdeps/unix/sysv/filebits.h: File removed.
  6583.  
  6584.     * sysdeps/unix/bsd/fcntlbits.h: Rewritten from stub version.
  6585.     * sysdeps/unix/bsd/filebits.h: File removed.
  6586.  
  6587.     * io/fcntl.h: Don't #include <filebits.h>.
  6588.     Removed all #define's of foo to __foo; <fcntlbits.h> now defines
  6589.     the unmarked cases.
  6590.  
  6591.     * sysdeps/stub/fcntlbits.h: Remove leading __ from all symbols.
  6592.  
  6593.     * misc/sys/file.h (L_SET, L_INCR, L_XTND): Define to literal
  6594.     values, not to __ versions.  These are not system-dependent.
  6595.     (LOCK_SH, LOCK_EX, LOCK_UN, LOCK_NB): Define to literal values,
  6596.     not to __ versions.  These are not actually system-dependent,
  6597.     because no system has `flock' except for BSD compatibility, and
  6598.     then they use the same numbers.
  6599.     * sysdeps/stub/fcntlbits.h (__L_SET, __L_INCR, __L_XTND): Removed.
  6600.     (__LOCK_SH, __LOCK_EX, __LOCK_UN, __LOCK_NB): Removed.
  6601.  
  6602. Tue Nov 10 17:01:11 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6603.  
  6604.     * sysdeps/stub/fcntlbits.h: Merged in contents of filebits.h.
  6605.     (struct __flock): Renamed to `struct flock'.
  6606.     * sysdeps/stub/filebits.h: File removed.
  6607.  
  6608.     * posix/unistd.h (access, lseek, close, read, write, pipe, chown,
  6609.     fchown, chdir, dup, dup2, execve, pathconf, fpathconf, sysconf,
  6610.     getpid, getppid, setpgrp, setpgid, setsid, getuid, getgid,
  6611.     geteuid, getegid, setuid, setreuid, setgid, setregid, fork, vfork,
  6612.     isatty, link, symlink, readlink, unlink, rmdir, gethostname,
  6613.     getpagesize, getdtablesize): Remove #define's to __ versions.
  6614.  
  6615.     * posix/sys/types.h: Don't #include <gnu/time.h>.
  6616.     Instead, use forward decl `struct timeval;'.
  6617.     (__select): Use `struct timeval', not `struct __timeval', in prototype.
  6618.     Move into #ifdef __USE_BSD.
  6619.     (select): Removed #define to __select; added real prototype.
  6620.  
  6621.     * sysdeps/generic/waitstatus.h: New file.
  6622.     * sysdeps/stub/waitflags.h: New file.
  6623.     * sysdeps/unix/bsd/waitflags.h: New file.
  6624.     * posix/sys/wait.h: Don't #include <gnu/wait.h>.
  6625.     Do #include <waitflags.h> and <waitstatus.h>.
  6626.     (WHOHANG, WUNTRACED): Don't #define to __ versions; <waitflags.h>
  6627.     will define the unmarked cases.
  6628.     (union __wait): Remove type decl and associated #define's for w_*;
  6629.     `union wait' (no __) is now defined in <waitstatus.h>.
  6630.     [__USE_BSD && __GNUC__ >= 2] (__WAIT_STATUS): Define as funky union.
  6631.     (waitpid, wait3, wait4, wait): Removed #define's to __ versions;
  6632.     added real prototypes.
  6633.     * posix/gnu/wait.h: File removed.
  6634.     * posix/Makefile (headers): Remove gnu/wait.h.
  6635.  
  6636.     * posix/sys/times.h [__OPTIMIZE__] (times): Removed #define to __times.
  6637.  
  6638.     * posix/sys/utsname.h: Removed decl of __uname_getnode.
  6639.  
  6640.     * time/sys/time.h: Don't #include <gnu/time.h>.
  6641.     Don't support __need_timeval.
  6642.     (struct timeval, struct timezone, struct itimerval,
  6643.     enum __itimer_which): Declare these types here.
  6644.     (gettimeofday, settimeofday, adjtime, getitimer, setitimer,
  6645.     utimes): Removed #define's to __ versions.  Added real prototypes.
  6646.     Use `struct timeval' instead of `struct __timeval', etc.
  6647.     * time/gnu/time.h: File removed.
  6648.     * time/Makefile (headers): Removed gnu/time.h.
  6649.  
  6650.     * resource/sys/resource.h: Don't #include <gnu/time.h>.
  6651.  
  6652. Mon Nov  9 18:41:03 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6653.  
  6654.     * socket/sys/socket.h (SO_STYLE): Define instead of SO_TYPE.
  6655.     (SO_TYPE): Define as SO_STYLE.
  6656.  
  6657.     * inet/netinet/in.h (struct ip_opts): New type.
  6658.     (IP_*): New constants snarfed from 4.4's in.h.
  6659.  
  6660. Fri Nov  6 15:34:41 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6661.  
  6662.     * resource/sys/resource.h (struct rusage): #include <sys/time.h>
  6663.     before struct defn.  Use `struct timeval', not `struct __timeval'
  6664.     for `ru_utime' and `ru_stime' members.
  6665.  
  6666.     * resource/sys/resource.h [__OPTIMIZE__] (getrusage, ulimit),
  6667.     misc/sys/ioctl.h [__OPTIMIZE__] (ioctl): Remove #define's to __
  6668.     versions.
  6669.  
  6670.     * string/strings.h: Protect against multiple inclusion.
  6671.     * termios/sys/termios.h: Ditto.
  6672.  
  6673.     * string/string.h [__GNUC__ && __OPTIMIZE__] (ffs): Remove #define
  6674.     to __builtin_ffs.
  6675.  
  6676.     * stdlib/stdlib.h (comparison_fn_t): Use a typedef, not a #define.
  6677.     Define this #ifdef __USE_GNU, not #ifdef __GNUC__.
  6678.     [__GNUC__ && __OPTIMIZE__] (abs, labs): Remove #define's to __builtin_.
  6679.  
  6680. Thu Nov  5 20:01:25 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6681.  
  6682.     * signal/Makefile (headers): Remove gnu/signal.h;
  6683.     add sigaction.h, sigset.h.
  6684.     * sysdeps/generic/sigaction.h: New file.
  6685.     * sysdeps/generic/sigset.h: New file.
  6686.     * signal/gnu/signal.h: Removed.
  6687.     * signal/signal.h: Move __{BEGIN,END}_DECLS outside all the #if's
  6688.     (except the outermost one that protects against multiple inclusion).
  6689.     Don't #include <gnu/signal.h>.  Instead #include <sigset.h>
  6690.     outside of #if's, and #include <sigaction.h> inside #ifdef __USE_POSIX.
  6691.     (__sighandler_t): Define here; it is not system-specific.
  6692.     (kill, ssignal, gsignal, sigblock, sigsetmask, sigpause, sigvec,
  6693.     sigreturn): Remove #define's to __ versions.
  6694.     (sighandler_t, sigset_t): Use a typedef, not a #define.
  6695.     [__OPTIMIZE__] (sig{empty,fill,add,del}set, sigismember): Make
  6696.     these macros take args.
  6697.     (sigaction): Remove #define.
  6698.     (struct __sigvec): Renamed `struct sigvec'.
  6699.     (__sigvec): Use `struct sigvec', not `struct __sigvec', in prototype.
  6700.  
  6701. Fri Oct 30 19:45:26 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6702.  
  6703.     * configure.in (sco*): base_os=unix/sysv.
  6704.  
  6705. Thu Oct 29 16:29:26 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6706.  
  6707.     * configure.in: New file; mostly contents of old file `configure'.
  6708.     (srcdir guessing): Removed this code.
  6709.     Instead, call AC_PREPARE.
  6710.     Call AC_PROG_INSTALL and AC_PROG_RANLIB to find those programs.
  6711.     Use AC_HAVE_FUNCS to find what sys_siglist and _ctype_ are called.
  6712.     (config.make): Write new var `config-defines' with what autoconf
  6713.     put in $DEFS.
  6714.     Append -DHAVE_GNU_LD and -DHAVE_GNU_AS to DEFS if appropriate;
  6715.     don't write gnu_ld and gnu_as variables.
  6716.     * configure: Removed.
  6717.     * Makefile (distribute): Add configure.in.
  6718.     * Makeconfig (+defines): Include $(config-defines) before $(defines);
  6719.     don't include $(gnu_as) and $(gnu_ld).
  6720.  
  6721.     * sysdeps/unix/bsd/glue-ctype.c (TABLE): Test HAVE_* for several
  6722.     different names and #define this.
  6723.     (STRINGIFY): Define macro.
  6724.     (main): Use TABLE instead of hardcoded name.
  6725.  
  6726.     * configure (sysnames): Try successively less specific base os's.
  6727.  
  6728.     * Makerules (ar-it): Define commands only ifdef objects.
  6729.  
  6730.     * sysdeps/mips/setjmp.S: Jump to __setjmp_aux, not ___setjmp_aux.
  6731.     We are NO_UNDERSCORES.
  6732.  
  6733. Tue Oct 27 18:11:19 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6734.  
  6735.     * sysdeps/posix/pipestream.c, sysdeps/posix/system.c: Always use
  6736.     __vfork instead of expecting FORK to be defined.
  6737.     * sysdeps/unix/bsd/system.c, sysdeps/unix/bsd/pipestream.c:
  6738.     Removed.  sysdeps/unix versions are now what we want.
  6739.  
  6740.     * sysdeps/unix/bsd/sun/sunos3/m68k/__wait.S: Removed.
  6741.     * sysdeps/unix/bsd/hp/m68k/__wait.S: Moved to unix/bsd/m68k.
  6742.  
  6743.     * sysdeps/unix/bsd/hp/m68k/{__pipe,sysdep}.S: Moved to unix/bsd/m68k.
  6744.     * sysdeps/unix/bsd/sun/m68k/{__pipe,sysdep}.S: Removed.
  6745.  
  6746.     * sysdeps/unix/bsd/sun/m68k/start.c: Moved to unix/bsd/m68k.
  6747.     * sysdeps/unix/bsd/sony/m68k/start.c: Removed.
  6748.  
  6749.     * sysdeps/unix/bsd/bsd4.4/__sigstmsk.c: Correct file name in #include.
  6750.  
  6751.     * sysdeps/unix/bsd/sun/m68k/__fork.S: Removed.
  6752.     * sysdeps/unix/bsd/hp/m68k/__fork.S: Removed.
  6753.     * sysdeps/unix/bsd/vax/__fork.S: Moved to unix/bsd.
  6754.  
  6755.     * sysdeps/generic/__vfork.c: New file; fn alias to __fork.
  6756.     * sysdeps/stub/__vfork.c: Removed.
  6757.  
  6758.     * limits.h: Only do #include_next #ifndef _LIMITS_H_.
  6759.  
  6760.     * malloc/mcheck.c (mcheck): Set abortfunc to either FUNC or abort;
  6761.     never leave it unchanged.
  6762.     Return 0 if mcheck_used; -1 if not.
  6763.     * malloc/malloc.h (mcheck): Change return type in decl.
  6764.  
  6765.     * Makerules (+depfiles): Don't include them if there are none.
  6766.  
  6767. Mon Oct 26 16:30:52 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6768.  
  6769.     * sysdeps/posix/fdopen.c: Use fcntl to check that FD is valid and
  6770.     allows the access MODE specifies.
  6771.  
  6772.     * sysdeps/stub/getcwd.c: #include <stddef.h>.
  6773.  
  6774.     * sysdeps/stub/sleep.c: #include <errno.h>.
  6775.  
  6776. Sun Oct 25 02:24:47 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6777.  
  6778.     * Makerules (+includes): Add $(+sysdep-includes) to this, leaving
  6779.     CPPFLAGS alone.
  6780.  
  6781.     * sysdeps/stub/stime.c: #include <time.h>.
  6782.  
  6783. Thu Oct 22 13:36:48 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6784.  
  6785.     * Rules (clean): Also remove $(clean-extras).
  6786.  
  6787. Tue Oct 20 18:36:40 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6788.  
  6789.     * configure: Write error message and lose for option with missing arg.
  6790.  
  6791.     * stdio/__vfscanf.c: Add `a' modifier, which makes %s and %[ fill
  6792.     in a char ** with a malloc'd string.
  6793.     (STRING_ADD_CHAR, STRING_ARG): New macros to deal with this hair.
  6794.     (%s, %[): Use them.
  6795.  
  6796.     * posix/gnu/types.h [__GNUC__] (__fsid_t): Define as long long.
  6797.  
  6798.     * stdio/vfprintf.c: Add %m, which is %s of strerror (errno).
  6799.  
  6800. Mon Oct 19 14:19:36 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6801.  
  6802.     * socket/sys/socket.h (PF_FILE, AF_FILE): Define new macros.
  6803.     (PF_UNIX, AF_UNIX): Make aliases for [PA]F_FILE.
  6804.  
  6805.     * sysdeps/ieee754/huge_val.h: #include <sys/cdefs.h>.
  6806.     [!__GNUC__]: Use __const, not CONST.
  6807.  
  6808.     * posix/wordexp.h: Fix indentation and syntax errors.
  6809.  
  6810.     * stdio/vasprintf.c (vasprintf): Set seen bit.
  6811.  
  6812. Fri Oct 16 17:18:34 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6813.  
  6814.     * Makefile (Mcrt1.o): Create an empty .c file and compile it,
  6815.     rather than creating an empty .o file.
  6816.  
  6817.     * sysdeps/unix/Makefile (sys/param.h): Strip / from name for mkdir.
  6818.  
  6819.     * sysdeps/m68k/fpu/atan2.c [! __GNUC__]: Include generic, not iee754.
  6820.  
  6821.     * sysdeps/sparc/Makefile ({divrem}.S): Use $(M4) for m4 in cmds.
  6822.     * Makeconfig (M4): Define it.
  6823.  
  6824.     * stdio/newstream.c (__newstream): Link STREAM onto __stdio_head
  6825.     after malloc'ing it.
  6826.  
  6827.     * time/emkdir.c: #define unix if not already defined.
  6828.  
  6829. Thu Oct 15 19:55:45 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6830.  
  6831.     * stdlib/wctomb.c: When passed 0, store a '\0' and return 1.
  6832.     * stdlib/mbtowc.c: When passed "", store a 0 and return 1.
  6833.  
  6834.     * sysdeps/generic/strstr.c: When NEEDLE is "", return HAYSTACK.
  6835.  
  6836. Thu Oct 15 19:25:46 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6837.  
  6838.     * malloc/malloc.h (__after_morecore_hook): Declare new var.
  6839.     * malloc/malloc.c (__after_morecore_hook): Define it.
  6840.     (align): Call it.
  6841.  
  6842. Mon Oct 12 15:56:07 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6843.  
  6844.     * malloc/malloc.h (r_alloc, r_alloc_free, r_re_alloc): Declare.
  6845.  
  6846.     * Makerules (native-compile, common-objdir-compile): Pass
  6847.     $(native-CFLAGS) to the compiler.
  6848.  
  6849.     * Makeconfig (+gccwarn): Removed -Wstrict-prototypes and
  6850.     -Wpointer-arith.  They were not really helping, and caused extra
  6851.     warnings for harmless code.
  6852.  
  6853.     * malloc/Makefile (dist-routines): Add ralloc.
  6854.     (gpl2lgpl): Add ralloc.c.
  6855.  
  6856.     * time/zic.c: #define unix if not already defined.
  6857.  
  6858.     * Makerules ($(gpl2lgpl)): Make output unwritable; use mv -f.
  6859.  
  6860. Mon Oct 12 15:27:40 1992  Brendan Kehoe  (brendan@mole.gnu.ai.mit.edu)
  6861.  
  6862.     * sysdeps/unix/bsd/ultrix4/mips/__set[gu]id.S: Handle returning to
  6863.     the proper caller ourselves, since setre[gu]id won't be doing it.
  6864.  
  6865. Mon Oct 12 13:37:16 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6866.  
  6867.     * malloc/malloc.h: Declare memory_warnings.
  6868.     * malloc/Makefile (dist-routines): Add vm-limit.
  6869.     (distribute): Add mem-limits.h.
  6870.     (gpl2lgpl): Add vm-limit.c, mem-limits.h.
  6871.  
  6872.     * gpl2lgpl.sed: Remove "This file is part of ..." lines.
  6873.     Changed regexp to match "foo is free software", not just "This
  6874.     program ...".
  6875.  
  6876.     * Makerules (+make-deps): Put file name before options on command line.
  6877.  
  6878.     * Makefile (install-lib): Remove libc.a from here.
  6879.     * Makerules [objects] (install-lib): Append it here instead.
  6880.  
  6881.     * io/sys/stat.h (S_IRWXO): Fixed typo.
  6882.  
  6883. Sun Oct 11 16:58:36 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6884.  
  6885.     * posix/glob.c (__glob_{open,read,close}dir_hook): New vars.
  6886.     (glob_in_dir): Use them.
  6887.     * posix/glob.h: Declare them.
  6888.  
  6889. Thu Oct  8 20:03:30 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  6890.  
  6891.     * configure (config.make): Write comment to edit configparms instead.
  6892.  
  6893. Wed Oct  7 17:15:05 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6894.  
  6895.     * sysdeps/stub/__chown.c: Fixed arg types (int -> [ug]id_t).
  6896.  
  6897.     * sysdeps/stub/__geteuid.c: Fixed return type (int -> __uid_t).
  6898.  
  6899.     * sysdeps/stub/__getegid.c: Fixed return type (int -> __gid_t).
  6900.  
  6901.     * configure: Write defns in config.make for vars config-machine,
  6902.     config-vendor, and config-os.
  6903.  
  6904.     * ctype/ctype.h (__isctype, __tolower, __toupper): Cast argument
  6905.     and return value to `int'.
  6906.  
  6907.     * ctype/ctype.h (__ctype_tolower, __ctype_toupper): Changed type
  6908.     to `short int *'.
  6909.     (toupper, tolower): Removed inline functions; restored macros.
  6910.     * ctype/ctype.c (tolower, toupper): Just call the __ macros.
  6911.     * ctype/ctype-info.c: Change types here too.
  6912.     * locale/localeinfo.h: And here.
  6913.     * locale/C-ctype_ct.c: Ditto.
  6914.  
  6915.     * crypt: New code from Michael Glad.
  6916.  
  6917.     * Makefile (munch-init.c), sysdeps/unix/Makefile
  6918.     ($(sys/param.h-includes), make-errnos.c, make-ioctls.c),
  6919.     sysdeps/unix/bsd/Makefile (local_lim.h, ctype-glue.c),
  6920.     sysdeps/posix/Makefile (stdio_lim.h): Changed rules to use a
  6921.     shorter suffix than `-tmp', to avoid exceeding 14 char limit.
  6922.  
  6923. Tue Oct  6 15:13:57 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6924.  
  6925.     * Makefile (README, INSTALL): Moved rules here.
  6926.     * Make-dist: From here.
  6927.  
  6928.     * sysdeps/unix/bsd/sun/m68k/{__pipe,__fork,sysdep}.S: Change uses
  6929.     of sysdeps/unix/bsd/hp9k3bsd to sysdeps/unix/bsd/hp/m68k.
  6930.  
  6931.     * sysdeps/m68k/Makefile: Put .S rule here.
  6932.     * sysdeps/unix/bsd/hp/m68k/Makefile: Removed file.
  6933.  
  6934. Mon Oct  5 19:40:22 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  6935.  
  6936.     * sysdeps/generic/pow.c (pow_p): Changed code to KY jelly.
  6937.  
  6938.     * sysdeps/unix/bsd/ultrix4/utsnamelen.h: New file.
  6939.     * sysdeps/unix/bsd/ultrix4/uname.S: New file.
  6940.  
  6941. Fri Oct  2 17:43:32 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6942.  
  6943.     * sysdeps/posix/mktemp.c: Don't use a static index and increment
  6944.     it on each call.  Instead, always start at the beginning and
  6945.     iterate until we find a file that does not exist.
  6946.  
  6947.     * sysdeps/unix/sysv/i386/signal.S: Use C_SYMBOL_NAME for __sigreturn.
  6948.     Added comment about gas bug with `lcall' insn.
  6949.  
  6950.     * sysdeps/unix/i386/__brk.S: Use C_SYMBOL_NAME for __curbrk and _end.
  6951.  
  6952.     * sysdeps/unix/i386/sysdep.S: #include <sysdep.h>.
  6953.     Use C_SYMBOL_NAME(errno) in place of _errno.
  6954.  
  6955.     * sysdeps/unix/sysdep.h (___errno): Removed #define to _errno.
  6956.     `errno' is an ANSI name; it doesn't need to be aliased.
  6957.     * sysdeps/unix/bsd/sun/m68k/sethostid.S,
  6958.     sysdeps/unix/bsd/sun/m68k/__vfork.S,
  6959.     sysdeps/unix/bsd/sun/sparc/sysdep.h,
  6960.     sysdeps/unix/bsd/sun/sparc/sethostid.S,
  6961.     sysdeps/unix/bsd/vax/sysdep.S,
  6962.     sysdeps/unix/bsd/vax/__vfork.S: Use _errno, not ___errno.
  6963.  
  6964.     * sysdeps/unix/sysv/sysdep.h: File removed.
  6965.     * sysdeps/unix/sysv/i386/sysdep.h: Don't #include it.
  6966.     #define NO_UNDERSCORES before #include <sysdeps/unix/i386/sysdep.h>.
  6967.  
  6968.     * sysdeps/unix/i386/sysdep.h (C_SYMBOL_NAME): Define new macro.
  6969.     [NO_UNDERSCORES]: #define syscall_error to __syscall_error, so we
  6970.     stay name space tidy.
  6971.  
  6972.     * sysdeps/unix/sysv/sysv4/sys_getdents.S: Added missing arg count (3).
  6973.  
  6974.     * sysdeps/unix/sysv/i386/time.S: Fixed to not use bogus addressing
  6975.     mode `4(%esp,1)'; use `4(%esp)' instead.  Added comments.
  6976.  
  6977.     * sysdeps/stub/__fchmod.c (__fchmod): Fixed arg type to mode_t.
  6978.  
  6979.     * sysdeps/posix/__wait3.c: #include <stddef.h> for NULL.
  6980.  
  6981.     * sysdeps/unix/i386/__wait.S: Use asm label `null' instead of
  6982.     `1f', and actually define the label!  Added comments.
  6983.  
  6984.     * sysdeps/i386/memchr.c: Renamed asm label to `done'; not all
  6985.     assemblers support numbered labels like `1f' or `1b'.
  6986.  
  6987.     * stdio/fseek.c (fseek): Discard char pushed back by ungetc.
  6988.     * stdio/ftell.c (ftell): If we have a pushed-back char, decrement
  6989.     the file position we return.
  6990.  
  6991.     * sysdeps/unix/bsd/sun/sparc/vfork.S: New file.
  6992.  
  6993. Wed Sep 30 18:48:38 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6994.  
  6995.     * limits.h (_LIBC_LIMITS_H_): Define today's name for this.
  6996.     RMS said it was to be `_LIBC_LIMITS_H', but that is not what
  6997.     gcc actually uses.
  6998.  
  6999. Tue Sep 29 18:17:12 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7000.  
  7001.     * time/Makefile (zic-cmd): Define variable.
  7002.     (tzcompile, zoneinfo/localtime, zoneinfo/posixrules): Use it for
  7003.     name of `zic' command.
  7004.  
  7005.     * sysdeps/unix/bsd/Makefile (ctype-glue.c): Make sure the command
  7006.     is not an unqualified name.
  7007.  
  7008.     * sysdeps/stub/statbuf.h (struct stat): Contain only POSIX.1
  7009.     members, with the POSIX.1 types.
  7010.     (_STATBUF_ST_BLKSIZE): #undef and comment.
  7011.     * sysdeps/unix/bsd/statbuf.h (_STATBUF_ST_BLKSIZE): Define it.
  7012.     * sysdeps/posix/stdio_init.c (__stdio_init_stream): Only try to
  7013.     use st_blksize #ifdef _STATBUF_ST_BLKSIZE.
  7014.  
  7015.     * sysdeps/unix/__getpgsz.c: #include <stddef.h> for size_t.
  7016.  
  7017.     * sysdeps/stub/__fchown.c: Fixed arg types ([ug]id_t, not int).
  7018.  
  7019.     * io/sys/stat.h: #include <gnu/types.h> for __mode_t et al.
  7020.  
  7021.     * sysdeps/unix/__gete[ug]id.S [SYS_gete[ug]id]: Add arg count of 0.
  7022.     [! SYS_gete[ug]id]: Fixed arg count to be 0.
  7023.  
  7024.     * sysdeps/unix/__get[ug]id.S: Fixed arg count to be 0.
  7025.  
  7026.     * sysdeps/unix/sysv/linux/syscall.h: #if 0'd out 2nd defn of SYS_brk.
  7027.  
  7028. Sun Sep 27 21:56:56 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7029.  
  7030.     * sysdeps/unix/Makefile (sys/param.h): Depend on $(common-objpfx)sys/.
  7031.  
  7032. Fri Sep 25 12:47:01 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7033.  
  7034.     * Makeconfig (INSTALL_DATA): Pass -m 644.
  7035.  
  7036. Thu Sep 24 16:13:47 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7037.  
  7038.     * sysdeps/unix/sysv/linux/getpeername.S: Renamed to getpeernam.S.
  7039.     * sysdeps/unix/sysv/linux/getsockname.S: Renamed to getsocknam.S.
  7040.     * sysdeps/unix/sysv/linux/setsid.S: Renamed to __setsid.S;
  7041.     function renamed to __setsid.
  7042.  
  7043.     * Version 1.05.
  7044.  
  7045.     * Makefile (dist): Depend on $(distribute).
  7046.  
  7047.     * stdio/__vfscanf.c (%c): Fixed DO_ASSIGN case loop condition to
  7048.     not write one char too many.
  7049.  
  7050. Wed Sep 23 16:32:18 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7051.  
  7052.     * stdlib/qsort.c (_quicksort): Return immediately if TOTAL_ELEMS==0.
  7053.  
  7054. Tue Sep 22 19:10:59 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7055.  
  7056.     * Makerules [! OUTPUT_OPTION && objpfx]: Define OUTPUT_OPTION.
  7057.  
  7058. Mon Sep 21 22:40:55 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7059.  
  7060.     * sysdeps/unix/bsd/mk-local_lim.c: Use MAXNAMLEN for NAME_MAX,
  7061.     rather than hard-wiring 255.
  7062.     [! MAXNAMLEN]: Define it to 255.
  7063.     [LINK_MAX && ! MAXLINK]: #define MAXLINK LINK_MAX.
  7064.  
  7065.     * sysdeps/unix/bsd/glue-ctype.c [ultrix]: #define _ctype_ _ctype__.
  7066.  
  7067.     * configure: Rename var `gas' to `gnu_as' and use consistently.
  7068.  
  7069. Fri Sep 18 16:32:16 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7070.  
  7071.     * sys/errno.h: New file.
  7072.     * Makefile (headers): Add it.
  7073.  
  7074.     * Makeconfig (+make-deps): Use = not define.
  7075.  
  7076.     * time/Makefile (zones-%): Don't clobber zonenames; append to it.
  7077.     Depend on Makefile so we rebuild when the rule changes.
  7078.     Changed implicit rule from zoneinfo/%/... to zone%/... so it will
  7079.     actually match.
  7080.  
  7081.     * sysdeps/unix/Makefile (syscall.h): Filter out "#ident" lines.
  7082.  
  7083.     * Makeconfig (+link): Use $(gnulib) instead of -lgcc.
  7084.     (gnulib): Define to -lgcc.
  7085.  
  7086.     * posix/glob/Makefile.in (AR, ARFLAGS): Define.
  7087.     (libglob.a): Use those vars instead of hardcoding.
  7088.  
  7089.     * Makeconfig (ARCH) [machine]: Don't define if $(..)config.make exists.
  7090.  
  7091.     * Makerules (compile.S): Include $(asm-CPPFLAGS).
  7092.     (S-CPPFLAGS): Define = $(asm-CPPFLAGS).
  7093.     (+make-deps): Include $(sfx-CPPFLAGS), where `sfx' is S or c.
  7094.     * Makeconfig (asm-CPPFLAGS): Define (empty) and comment.
  7095.  
  7096.     * sysdeps/unix/Makefile ($(sys/param.h-includes)): Filter out
  7097.     decls or macros for host<->net conversion (htonl et al).
  7098.  
  7099. Thu Sep 17 17:33:51 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7100.  
  7101.     * sysdeps/unix/sysv/statbuf.h: Define __S_*.
  7102.  
  7103.     * misc/Makefile (headers): syslog.h -> sys/syslog.h.
  7104.     * misc/syslog.h: Moved to misc/sys/syslog.h.
  7105.  
  7106.     * limits.h [__GNUC__ >= 2]: #define _LIBC_LIMITS_H before
  7107.     #include_next <limits.h>.
  7108.     Define _LIMITS_H unconditionally.
  7109.  
  7110. Wed Sep 16 17:43:59 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7111.  
  7112.     * sysdeps/unix/Makefile (syscall.h): Don't use \< in sed commands.
  7113.     Some seds don't seem to grok it.
  7114.  
  7115.     * Makerules (+install-dirs): Sort them.
  7116.  
  7117.     * Makeconfig (stdarg.h): Use $(wildcard va-*.h) instead of va-*.h,
  7118.     and := instead of =.
  7119.  
  7120.     * Makeconfig (prefix): Default to $(exec_prefix), not /usr/local.
  7121.  
  7122.     * Makeconfig (+link): Use $(common-objpfx) rather than $(objpfx)
  7123.     to find start.o; use $(libc.a) instead of $(objpfx)libc.a.
  7124.  
  7125.     * sysdeps/sparc/Makefile: crypt subdir is not called uf-crypt.
  7126.  
  7127.     * sysdeps/unix/Makefile (sys/param.h-includes): Fixed filtering
  7128.     out of existent glibc headers to remove $(..) pfx after wildcard.
  7129.  
  7130.     * misc/paths.h: New file, snarfed from 4.4 BSD.
  7131.     * misc/Makefile (headers): Add paths.h.
  7132.  
  7133. Tue Sep 15 14:55:11 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7134.  
  7135.     * Makerules (+sysdir_pfx): Define as $(common-objpfx).
  7136.  
  7137.     * MakeTAGS (TAGS) [subdir && ! tags_sources]: Create an empty
  7138.     file, rather than no commands at all.
  7139.  
  7140.     * string/string.h [__GNUC__ && __OPTIMIZE__] (ffs): Take arg.
  7141.  
  7142.     * sysdeps/unix/sysv/linux/__wait4.S: New file.
  7143.  
  7144.     * sysdeps/unix/sysv/linux/syscall.h: New version from hlu.
  7145.  
  7146.     * sysdeps/unix/Makefile (syscall.h): Upcase `sys_' in input.
  7147.  
  7148.     * sysdeps/unix/bsd/ultrix4/mips/sysdep.h (MOVE): Insn is `move',
  7149.     not `movl'.
  7150.  
  7151.     * sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Deansideclized.
  7152.  
  7153.     * sysdeps/unix/ioctls-tmpl.c [DIOCGETPT, DEVGETGEOM]: Include
  7154.     headers for these.
  7155.     [ultrix]: Mondo cruft.
  7156.  
  7157. Sat Sep 12 12:08:29 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  7158.  
  7159.     * misc/Makefile (routines): Add ttyslot, syslog.
  7160.     * misc/ttyslot.c, misc/syslog.[ch]: New, snarfed from 4.4 BSD.
  7161.     (headers): Add syslog.h
  7162.  
  7163.     * misc/getttyent.c (getttyent): Parse _TTYS_TRUSTED keyword and
  7164.     set TTY_TRUSTED bit.
  7165.     * misc/ttyent.h (TTY_TRUSTED): New bit in ty_status.
  7166.     (_TTYS_TRUSTED): New keyword.
  7167.     (_TTYS_CONSOLE): New keyword.
  7168.     (TTY_CONSOLE): New bit in ty_status.
  7169.  
  7170.     * dirent/scandir.c (scandir): Don't keep using V after realloc'ing
  7171.     it.  Use the returned new ptr instead.
  7172.  
  7173. Thu Sep 10 18:59:23 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7174.  
  7175.     * stdlib/div.c, stdlib/ldiv.c: Rewritten from Berkeley code that works.
  7176.  
  7177.     * Makeconfig (stdarg.h): Add va-*.h.
  7178.  
  7179.     * stdlib/Makefile (dont_distribute): Define: testsort.input.
  7180.  
  7181.     * sysdeps/mach/hurd/i386/_hurd_start_sigthread.c,
  7182.     sysdeps/stub/_hurd_start_sigthread.c: Renamed to .../startsig.c.
  7183.     * sysdeps/mach/hurd/sys_errlist.awk: Renamed to .../errlist.awk.
  7184.     * sysdeps/mach/hurd/Makefile (sys_errlist.c): Change dep.
  7185.     * sysdeps/unix/bsd/make-local_lim.c: Renamed to .../mk-local_lim.c.
  7186.     * sysdeps/unix/bsd/Makefile (local_lim.h): Change dep.
  7187.     (make-local_lim): Change target and dep.
  7188.     * hurd/_hurd_dead_recv.c: Renamed to hurd/dead_recv.c.
  7189.     * hurd/setdtablesize.c: Renamed to hurd/setdtsz.c.
  7190.     * hurd/Makefile (routines): Change references.
  7191.     * stdio/tstgetline.c: Renamed to stdio/tstgetln.c.
  7192.     * stdio/tstgetline.input: Renamed to stdio/tstgetln.input.
  7193.     * stdio/Makefile (tests): Change ref.
  7194.     * README.template: Remove note about long file names.
  7195.  
  7196.     * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h (_UTSNAME_LENGTH):
  7197.     Define here, rather than #include'ing sysv/utsnamelen.h.
  7198.     This file gets installed.
  7199.  
  7200. Wed Sep  9 17:06:14 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7201.  
  7202.     * Makeconfig (localtime-file): Put in $(prefix)/etc, not /etc.
  7203.  
  7204.     * setjmp/Makefile (routines): Remove sigsetjmp.
  7205.  
  7206.     * sysdeps/posix/Makefile (objdir-CPPFLAGS) [! subdir]: Rewrote
  7207.     totally broken defn.
  7208.  
  7209.     * sysdeps/unix/Makefile (syscall.h): Keep lines starting
  7210.     with #, not only those starting with #define.
  7211.     We want to preserve any #ifdef in the original.
  7212.  
  7213.     * Makerules (install): Dep $(+install-dirs), not $(dir $(+install)).
  7214.     (+install-dirs): Define to get two levels of dirs.
  7215.  
  7216.     * time/Makefile (tz-cc): Use = instead of define directive.
  7217.  
  7218.     * sysdeps/unix/bsd/sun/sparc/start.c (_start): Give ARGC, ARGV,
  7219.     and ENVP `register' storage class; can then clear the FP early.
  7220.  
  7221. Sat Sep  5 13:14:09 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  7222.  
  7223.     * Makerules (sysdirs): Pass sysdep_dir in child's environment.
  7224.  
  7225. Fri Sep  4 15:37:23 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  7226.  
  7227.     * Makeconfig (common-objpfx): Add trailing slash.
  7228.     Move comment to prev line to avoid extra whitespace.
  7229.  
  7230. Thu Sep  3 17:31:13 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7231.  
  7232.     * sysdeps/unix/bsd/setgroups.S: New file.  How did this manage not
  7233.     to exist already??
  7234.  
  7235.     * Version 1.04.
  7236.  
  7237.     * sysdeps/generic/memmem.c (memmem): Fixed loop condition not to
  7238.     use nonexistent variable.
  7239.  
  7240.     * string/string.h (memmem): Put const qualifier on args.
  7241.  
  7242.     * sysdeps/stub/sigaltstack.c (sigaltstack): Fix arg type.
  7243.  
  7244.     * setjmp/sigsetjmp.c: #undef sigsetjmp before defining the function.
  7245.  
  7246. Wed Sep  2 16:43:58 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7247.  
  7248.     * misc/Makefile (headers): Add syscall.h.
  7249.     * sysdeps/unix/Makefile: Only generate syscall.h if it would
  7250.     otherwise come from stub.
  7251.     * sysdeps/stub/syscall.h: New file.
  7252.  
  7253.     * time/Makefile (routines): Add stime.
  7254.  
  7255.     * io/Makefile (routines): Add fchdir.
  7256.  
  7257.     * signal/Makefile (routines): Add sigaltstack.
  7258.  
  7259.     * string/Makefile (routines): Add memmem.
  7260.  
  7261.     * setjmp/Makefile (routines): Add sigsetjmp, _setjmp.
  7262.  
  7263.     * misc/Makefile (routines): Add getpass.
  7264.  
  7265.     * Makefile (distribute): Add NEWS.
  7266.  
  7267.     * Makerules (ar-it) [! objdir]: Pass `ru' instead of `u' to ar.
  7268.     Use $(..)libc.a instead of $(libc.a).
  7269.  
  7270.     * sysdeps/unix/sysv/i386/linux/sysdep.h (PSEUDO): Call numbers are
  7271.     SYS_*, not __NR_*.
  7272.  
  7273.     * sysdeps/unix/sysv/i386/linux/__wait.S: Prepend extra _ to
  7274.     `__waitpid' for jmp.
  7275.  
  7276.     * Makerules (check): New rule; alias for `tests'.
  7277.  
  7278.     * sysdeps/stub/__setregid.c: Args are gid_t, not int.
  7279.  
  7280.     * sysdeps/posix/readv.c: #include <string.h>.
  7281.  
  7282.     * sysdeps/generic/printf_fp.c: If LDBL_DIG or LDBL_MAX_10_EXP is
  7283.     defined by float.h, #define each to DBL_*.
  7284.  
  7285. Tue Sep  1 16:29:07 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7286.  
  7287.     * sysdeps/unix/Makefile (syscall.h): Add missing backslashes.
  7288.  
  7289.     * Makeconfig [!objdir && !..] (common-objpfx): Define as
  7290.     `sysdeps/..'; The Almighty KludgeMeister 2000 wins again.
  7291.  
  7292.     * Makerules (sysdep-Makefile): Rename to sysd-Makefile.
  7293.  
  7294.     * Makeconfig (CC): Don't use -pipe by default.
  7295.  
  7296.     * configure (switches): Put quotes around os-release and
  7297.     os-version values.
  7298.  
  7299. Mon Aug 31 19:33:15 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7300.  
  7301.     * sysdeps/stub/cbrt.c: New file.
  7302.  
  7303.     * sysdeps/generic/cabs.c: New file.
  7304.  
  7305.     * sysdeps/generic/ceil.c: New file, split from floor.c.
  7306.     * sysdeps/generic/__rint.c: Replaced with code split from floor.c.
  7307.     * sysdeps/generic/Makefile (routines): Don't remove ceil, __rint.
  7308.  
  7309. Thu Aug 27 15:58:13 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  7310.  
  7311.     * malloc/malloc.h [! __STDC__] (ptrdiff_t): #define.
  7312.  
  7313. Wed Aug 26 18:15:47 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7314.  
  7315.     * malloc/free.c (__free): Rename to _free_internal.
  7316.     (free), malloc/malloc.c (morecore): Change callers.
  7317.     * malloc/malloc.h: Change decl.
  7318.  
  7319. Tue Aug 18 17:38:13 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7320.  
  7321.     * sysdeps/generic/__copysign.c: New file.
  7322.  
  7323.     * sysdeps/unix/sysv/sysdep.h: #include <syscall.h>, not
  7324.     <sys/syscall.h>.  Don't #define _SYS_SYS_S; should no longer be
  7325.     necessary.
  7326.  
  7327.     * sysdeps/unix/Makefile (syscall.h): Replaced simple code to just
  7328.     find the file in any of several places, with hairier code to find
  7329.     it and massage it.
  7330.  
  7331.     * malloc/Makefile (obstack.%): Remove rule.
  7332.     (gpl2lgpl): Define this instead.
  7333.     * posix/Makefile (gpl2lgpl): Define to include getopt source files.
  7334.     * Makerules ($(gpl2lgpl)): New rule to snarf code and frob its
  7335.     copying notices.
  7336.  
  7337. Fri Aug 14 13:28:39 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7338.  
  7339.     * Makeconfig (common-objdir, common-objpfx): Define new vars.
  7340.     (libc.a): Define in terms of $(common-objpfx).
  7341.     Find config.make with $(common-objpfx), not $(objpfx).
  7342.     * Makerules (common-objdir-compile): Define canned sequence.
  7343.     (native-compile): Use $(@D)/$(@F) instead of stripping off $(objpfx).
  7344.     * sysdeps/unix/Makefile, sysdeps/unix/bsd/Makefile,
  7345.     sysdeps/generic/Makefile: Use it.
  7346.     Use $(common-objpfx) for generated things not specific to one subdir.
  7347.  
  7348.     * sysdeps/unix/Makefile (sysdep_headers): Add
  7349.     $(sys/param.h-includes) to this instead of to headers.
  7350.  
  7351. Thu Aug 13 18:30:58 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7352.  
  7353.     * posix/glob.c: Always #include <sys/types.h>.
  7354.     [! USG]: Don't do it here.
  7355.     [STDC_HEADERS]: Test this instead of __STDC__ for size_t.
  7356.     [HAVE_STRCOLL]: Test this instead of ANSI_STRING for strcoll.
  7357.  
  7358.     * posix/glob/Makefile.in (Makefile): Remove rule.
  7359.  
  7360. Wed Aug 12 16:12:52 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7361.  
  7362.     * sysdeps/sparc/jmp_buf.h: Deansideclized.
  7363.  
  7364.     * sysdeps/generic/make_siglist.c: #undef HAVE_SYS_SIGLIST, not
  7365.     SYS_SIGLIST_MISSING.
  7366.     * sysdeps/generic/signame.[ch]: Re-symlinked from /gd/gnu/lib.
  7367.     Who's been removing random things from my source tree??
  7368.  
  7369. Tue Aug 11 15:01:50 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7370.  
  7371.     * posix/getconf.c (main): Cast printf field with arg to int.
  7372.  
  7373.     * Makefile (distribute): Remove ansidecl, ansidecl.m4.
  7374.  
  7375.     * posix/glob.c [_AIX]: Don't declare alloca.
  7376.  
  7377. Mon Aug 10 17:09:40 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7378.  
  7379.     * sysdeps/m68k/fpu/__math.h (__expm1): Define just like expm1.
  7380.  
  7381.     * sysdeps/unix/ioctls-tmpl.c [SMIOSTATS, SMIOGETREBOOT0,
  7382.     ZIOCBCMD]: Include headers for these.
  7383.  
  7384. Fri Aug  7 16:01:43 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7385.  
  7386.     * string/tester.c (main): Use sys_nerr and sys_errlist, not _sys_*.
  7387.  
  7388.     * stdio/stdio.h [__USE_GNU] (_sys_nerr, _sys_errlist): Declare.
  7389.  
  7390.     * string/strerror.c, stdio/perror.c
  7391.     [HAVE_GNU_LD] (_sys_errlist, _sys_nerr): Remove decls.
  7392.  
  7393.     * stdio/memstream.c (enlarge_buffer): Notice when target is -1 and
  7394.     don't treat it as a huge value.
  7395.  
  7396.     * stdio/tst-printf.c: #if 0 code that tickles printf_fp bugs.
  7397.  
  7398.     * grp/testgrp.c: Don't bomb if uid not in passwd file.
  7399.  
  7400.     * stdlib/tst-strtol.c (tests): C-t on LONG_MIN and LONG_MIN-1 elts.
  7401.  
  7402.     * stdlib/strtol.c: Use int flag NEGATIVE instead of char 1/-1 SIGN.
  7403.     Fixed checking for overflow of long int that fits in unsigned long
  7404.     int--must cast LONG_MIN before negating!
  7405.  
  7406. Thu Aug  6 18:46:24 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7407.  
  7408.     * stdio/bug3.c (main): Define ansideclifily.
  7409.  
  7410.     * sysdeps/unix/bsd/sun/sparc/__pipe.S: Define __pipe, not ___pipe.
  7411.  
  7412.     * math/test-math.c (main): Remove unused vars.
  7413.  
  7414.     * io/flock.c: #include <sys/file.h>, and not fcntl.h or sys/types.h.
  7415.  
  7416.     * sysdeps/m68k/fpu/__math.h (__rint): Define just like rint.
  7417.  
  7418.     * math/math.h (__rint): Declare.
  7419.  
  7420.     * configure (esix*): base_os=unix/sysv.
  7421.  
  7422.     * dirent/getdents.c: #include <dirent.h>.
  7423.  
  7424.     * Rules (subdir): Avoid TAB before # at end of defn.
  7425.  
  7426.     * sysdeps/unix/bsd/bsd4.4/__wait3.c: Last arg type is struct rusage *.
  7427.  
  7428. Tue Aug  4 18:19:43 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7429.  
  7430.     * sysdeps/ieee754/Makefile: Removed.
  7431.  
  7432.     * math/math.h: Declare __expm1.
  7433.  
  7434. Mon Aug  3 13:02:05 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7435.  
  7436.     * sysdeps/ieee754/cabs.c (cabs, z_abs): Members of structure have __.
  7437.  
  7438.     * sysdeps/unix/bsd/seq386: Remove directory.
  7439.  
  7440. Thu Jul 30 15:42:01 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7441.  
  7442.     * sysdeps/unix/bsd/sun/sparc/sigcontext.h: Deansideclized.
  7443.  
  7444.     * sysdeps/unix/bsd/sun/sunos4/__wait4.c: Make last arg struct rusage
  7445.     instead of PTR.
  7446.  
  7447.     * sysdeps/unix/morecore.c (__default_morecore): Make arg ptrdiff_t.
  7448.  
  7449.     * sysdeps/ieee754/cabs.c (cabs, z_abs): Use `struct __complex' for arg.
  7450.  
  7451.     * sysdeps/generic/pow.c: #include <limits.h>.
  7452.  
  7453.     * sysdeps/generic/mathimpl.c: #include <math.h> before frobnication.
  7454.  
  7455.     * misc/getusersh.c (okshells): Make const.
  7456.     (initshells): Properly declare static.
  7457.  
  7458.     * sysdeps/unix/bsd/__tcgetatr.c: Cast sg_[io]speed to (unsigned char) 
  7459.     to avoid gcc warnings.
  7460.  
  7461.     * math/bsd/common/atan2.c, math/bsd/common/tan.c,
  7462.     math/bsd/common/sincos.c, math/bsd/common/trig.h,
  7463.     math/bsd/common_source/__expm1.c, math/bsd/common_source/fmod.c,
  7464.     math/bsd/common_source/acosh.c, math/bsd/common_source/log.c,
  7465.     math/bsd/common_source/asincos.c, math/bsd/common_source/asinh.c,
  7466.     math/bsd/common_source/log1p.c, math/bsd/common_source/atan.c,
  7467.     math/bsd/common_source/log__L.c, math/bsd/common_source/atanh.c,
  7468.     math/bsd/common_source/mathimpl.h, math/bsd/common_source/cosh.c,
  7469.     math/bsd/common_source/exp.c, math/bsd/common_source/sinh.c,
  7470.     math/bsd/common_source/exp__E.c, math/bsd/common_source/tanh.c,
  7471.     math/bsd/common_source/floor.c: Moved to sysdeps/generic.
  7472.     * math/bsd/ieee/{cabs,cbrt,support}.c: Moved to sysdeps/ieee754.
  7473.     * All above + sysdeps/generic/mathimpl.h, sysdeps/generic/pow.c: New
  7474.     code from 4.4/net2.
  7475.  
  7476.     * sysdeps/generic/ffs.c: #include <string.h>, not <bstring.h>.
  7477.  
  7478.     * posix/glob/Makefile.in (Makefile): Depend on config.status; invoke
  7479.     it directly instead of using $(SHELL).
  7480.  
  7481.     * posix/glob.c [! USG]: #include <sys/types.h> before <sys/dir.h>.
  7482.  
  7483. Tue Jul 28 17:54:23 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7484.  
  7485.     * sysdeps/unix/bsd/ultrix42: Renamed to ultrix4.
  7486.  
  7487.     * sysdeps/unix/sysv/isc2.2/__rename.S: New.
  7488.     * configure (isc*): base_os=unix/sysv.
  7489.  
  7490.     * Makefile, Makerules, Rules, math/Makefile, ctype/Makefile: Use
  7491.     "export foo := $(foo)" instead of ifdef have_export_directive.
  7492.     * Makeconfig (have_export_directive): Remove; move .NOEXPORT down.
  7493.  
  7494. Mon Jul 27 18:01:30 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7495.  
  7496.     * configure: Remove redundant test to set os_used.
  7497.  
  7498. Sun Jul 26 17:03:31 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7499.  
  7500.     * README.template: Don't mention Q+A.
  7501.     * Makefile (distribute): Remove Q+A.
  7502.  
  7503.     * Makefile, Makerules, Rules, math/Makefile, ctype/Makefile: Put
  7504.     "ifdef have_export_directive" around uses of `export' directive.
  7505.     They are only needed for dist and tags anyway.
  7506.     * Makeconfig (have_export_directive): Add commented-out defn, and
  7507.     comment to explain.
  7508.     (.NOEXPORT): Add special target for old versions of GNU make.
  7509.  
  7510.     * posix/glob.c [_AIX]: #pragma alloca first thing.
  7511.     [ANSI_STRING]: Remove #define's for index et al.
  7512.  
  7513. Thu Jul 23 21:49:53 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7514.  
  7515.     * misc/getpass.c: New.
  7516.     * posix/unistd.h (getpass): Declare.
  7517.  
  7518.     * posix/unistd.h (getusershell, setusershell, endusershell): Declare.
  7519.     * misc/Makefile (routines): Add getusersh.
  7520.     * misc/getusersh.c: New.
  7521.  
  7522. Tue Jul 14 20:03:57 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7523.  
  7524.     * stdlib/Makefile (tests): Add testdiv.
  7525.     * stdlib/testdiv.c: New.
  7526.  
  7527.     * sysdeps/unix/sysv/i386/linux/{rename,__mkdir,__rmdir,__dup2,
  7528.     getpgrp,__setpgrp,setsid}.S: New files.
  7529.  
  7530.     * sysdeps/unix/__getppid.S: If SYS_getppid is defined, use it rather
  7531.     than alternate value of getpid.
  7532.     * __gete[ug]id.S: Similar.
  7533.  
  7534.     * sysdeps/unix/sysv/i386/linux/__waitpid.S: New file.
  7535.     * sysdeps/unix/sysv/i386/linux/__wait.S: New file.
  7536.     * sysdeps/posix/__wait3.c: New file.
  7537.  
  7538.     * sysdeps/unix/sysv/i386/linux/socket.S: New file.
  7539.     * bind.S, connect.S, listen.S, accept.S, getsockname.S,
  7540.     getpeername.S, socketpair.S: Also new (and trivial).
  7541.  
  7542. Mon Jul 13 17:41:46 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7543.  
  7544.     * sysdeps/unix/sysv/i386/linux/sysdep.[hS]: New files.
  7545.  
  7546.     * configure (linux*): base_os=unix/sysv
  7547.     (gnu*, linux*): Always set --with-gnu-ld and --with-gnu-as.
  7548.  
  7549.     * stdio/obstream.c: #include <string.h>
  7550.     (obstack_vprintf): Use bzero rather than memset.
  7551.  
  7552.     * stdio/glue.c (unix_FILE.glue): Add two members, which will overlap
  7553.     get_limit and put_limit in GNU stdio.
  7554.     (_iob): Initialize them to same as `streamp'.
  7555.  
  7556. Thu Jul  9 21:27:39 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7557.  
  7558.     * stdio/stdio.h (open_obstack_stream, obstack_printf,
  7559.     obstack_vprintf): Declare.
  7560.  
  7561.     * posix/glob.c [STDC_STRINGS]: Don't test this.
  7562.     [! ANSI_STRING]: Put memcpy, strrchr, memset defns here instead.
  7563.  
  7564.     * posix/glob/Makefile.in (glob.o, fnmatch.o): / after $(srcdir).
  7565.  
  7566. Tue Jul  7 03:11:23 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7567.  
  7568.     * stdio/Makefile (routines): Add obstream.
  7569.  
  7570.     * Makerules (%.o: %.S, %.o: %.c): If using gcc, put the file name
  7571.     before the options on the command line.
  7572.  
  7573.     * malloc/Makefile (dist-routines): Define with routines for malloc.tar.
  7574.     (routines): Define with that plus the rest.
  7575.     (nodist): Remove.
  7576.     (routines): Add obstack.
  7577.     (headers): Add obstack.h.
  7578.     (obstack.%): New rule.
  7579.  
  7580.     * stdio/glue.c: Add comments.
  7581.  
  7582.     * stdio/printf.h (struct printf_info.spec): Make unsigned char.
  7583.  
  7584.     * stdio/stdio.h (__validfp): Fixed glued-stream snarfing.
  7585.  
  7586. Mon Jul  6 20:00:47 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7587.  
  7588.     * sysdeps/i386/jmp_buf.h: Deansideclized.
  7589.  
  7590.     * sysdeps/posix/Makefile (objdir-CPPFLAGS): Define; if in parent
  7591.     dir, add ..s to -Is.
  7592.     (mk-stdiolim): Use it in place of $(CPPFLAGS).
  7593.  
  7594. Sat Jul  4 20:44:42 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7595.  
  7596.     * posix/glob/Makefile.in (glob.o, fnmatch.o): Put $(srcdir) on deps.
  7597.  
  7598. Wed Jul  1 00:13:40 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7599.  
  7600.     * sysdeps/generic/strstr.c: If NEEDLE is "", return end of HAYSTACK.
  7601.  
  7602.     * string/tester.c (main): Remove decls of sys_nerr and sys_errlist.
  7603.  
  7604.     * configure: Accept --prefix=*, --exec_prefix=* options.
  7605.     Set values in config.make and config.status.
  7606.  
  7607.     * io/umask.c: Fixed return type in fn alias.
  7608.  
  7609.     * posix/glob.c [! ANSI_STRING]: #define strcoll to strcmp.
  7610.     Remove extra decls of free, qsort, malloc, and realloc.
  7611.  
  7612.     * dirent/alphasort.c: #include <string.h>, and not <stdlib.h>.
  7613.  
  7614.     * sysdeps/unix/bsd/i386/__wait3.S: Load SYS_wait into %eax before
  7615.     trapping.  Use literal .byte instead of lcall to avoid gas bug.
  7616.     Use 0(REG), not (REG), for register-indirect addressing.
  7617.  
  7618.     * configure: Make config.status executable.
  7619.  
  7620. Tue Jun 30 21:14:53 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7621.  
  7622.     * configure: Add --os-release=* and --os-version=* options.  Record
  7623.     settings (which might be automagically guessed) in config.status.
  7624.  
  7625.     * misc/mknod.c: Use __mode_t for arg in fn alias.
  7626.  
  7627.     * posix/unistd.h (setregid): Declare to take __gid_t args.
  7628.  
  7629.     * sysdeps/unix/bsd/i386/__wait3.S: Don't use lcall insn gas barfs on.
  7630.  
  7631.     * posix/vfork.c: Move to sysdeps/generic/.
  7632.  
  7633.     * Rules (others, tests): Export them.
  7634.  
  7635.     * io/umask.c, io/mkdir.c, io/chmod.c: Use mode_t not int in arg decls.
  7636.  
  7637.     * sysdeps/i386/ffs.c: #include <string.h>, not <bstring.h>.
  7638.  
  7639.     * stdio/vfscanf.c: Use function_alias.
  7640.  
  7641.     * stdio/vsscanf.c: Use va_list, not PTR, in arg decl in fn alias.
  7642.  
  7643.     * sysdeps/unix/i386/sysdep.h (PSEUDO): Enough backslashes and
  7644.     semicolons.
  7645.  
  7646.     * stdio/stdio.h: For __gnuc_va_list, #test __GNUC_VA_LIST, not
  7647.     __va_list_defined.
  7648.  
  7649.     * stdio/fmemopen.c: Use memchr to find NUL for append mode.
  7650.  
  7651.     * stdio/memstream.c (enlarge_buffer): Double the buffer size, rather
  7652.     than adding 100.  Don't clobber *INFO->bufsize when called with the
  7653.     put limit reset.  If the target has been set, extend and zero-fill
  7654.     the buffer.
  7655.     (seek): New function.
  7656.     (open_memstream): Use it for seek io fn.  Call fmemopen with "w+" mode.
  7657.  
  7658. Sun Jun 28 19:01:01 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7659.  
  7660.     * stdio/fseek.c: Fail with EINVAL for a negative file pos.
  7661.  
  7662. Fri Jun 26 00:07:53 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7663.  
  7664.     * Makeconfig (stdarg.h): New variable.
  7665.     * Makefile (headers): Add $(stdarg.h).
  7666.  
  7667.     * stdio/stdio.h: Change __va_list to __gnuc_va_list in decls.
  7668.  
  7669.     * sysdeps/unix/morecore.c: Include malloc.h #ifndef _MALLOC_INTERNAL.
  7670.     Don't include <stdio.h>.
  7671.     (NULL): Define to 0 if not defined.
  7672.  
  7673.     * sysdeps/i386/bzero.c: Include string.h, not bstring.h.
  7674.  
  7675. Thu Jun 25 21:01:40 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7676.  
  7677.     * stdio/perror.c, string/strerror.c (_sys_errlist, _sys_nerr): Don't
  7678.     declare #ifndef HAVE_GNU_LD.
  7679.  
  7680.     * stdio/fwrite.c: Cast arg to write io func to const char * (from uns).
  7681.  
  7682.     * sysdeps/unix/Makefile: If syscall.h doesn't exist in
  7683.     $(sysincludedir), look for sys/syscall.h and create $(objpfx)syscall.h
  7684.     to #include it.
  7685.  
  7686.     * sysdeps/unix/morecore.c (__default_morecore): Deansideclized.
  7687.     * malloc/*.c: Only #include <malloc.h> #ifndef _MALLOC_INTERNAL.
  7688.  
  7689. Wed Jun 24 19:09:04 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7690.  
  7691.     * sysdeps/unix/snarf-ioctls: Avoid looking at a few particular
  7692.     headers which tend to mislead us.
  7693.  
  7694.     * Makefile (distribute): Add COPYING.
  7695.  
  7696.     * configure (Makefile): When invoking make in srcdir, set ARCH
  7697.     rather than objdir on the cmd line.
  7698.  
  7699.     * posix/glob.c [DIRENT] (direct): Don't define to dirent.
  7700.     [! DIRENT] (direct): Define to dirent.
  7701.  
  7702.     * Make-dist [!subdir] (+tsrcs): Don't include $(distribute).  It was
  7703.     already included above.
  7704.  
  7705. Mon Jun 22 16:58:34 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7706.  
  7707.     * Makerules (sysdep_routines): Export it.
  7708.  
  7709. Wed Jun 17 17:58:05 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7710.  
  7711.     * posix/glob.c (my_realloc): Test only __GNU_LIBRARY__.  Can't trust
  7712.     STDC_HEADERS.
  7713.  
  7714. Tue Jun 16 20:20:01 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  7715.  
  7716.     * resource/sys/resource.h (enum __rlimit_resource): Added MEMLOCK,
  7717.     NPROC, OFILE.
  7718.  
  7719.     * posix/Makefile (glob.tar): Include Makefile.in & configure, and not
  7720.     Makefile.
  7721.     (glob/configure): New rule.
  7722.  
  7723.     * posix/glob/Makefile: Moved to posix/glob/Makefile.in.
  7724.     (VPATH, srcdir, CPPFLAGS): Define to be replaced by autoconf.
  7725.  
  7726.     * posix/glob.c: Rearranged conditionals for use with autoconf.
  7727.  
  7728. Thu Jun 11 15:47:43 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7729.  
  7730.     * sysdeps/unix/bsd/sun/sparc/start.c: Added alias for start -> __start.
  7731.  
  7732. Tue Jun  9 20:15:12 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7733.  
  7734.     * sysdeps/posix/rename.c: Return failure and don't remove the old
  7735.     link if the link failed with other than EEXIST.
  7736.  
  7737.     * posix/glob/Makefile: Fixed copyright notice.
  7738.     (realclean): Don't remove ~ backup files.
  7739.  
  7740. Thu Jun  4 16:41:56 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7741.  
  7742.     * time/Makefile (install-data): Don't include zoneinfo/.
  7743.     Makerules already makes sure the necessary directories exist.
  7744.  
  7745.     * setjmp/setjmp.h (sigsetjmp) [__GNUC__]: Use typeof hackery to
  7746.     construct the type of the temporary var for the arg.
  7747.     (_setjmp) [__FAVOR_BSD]: Make same as setjmp.
  7748.  
  7749.     * malloc/malloc.h (mtrace): Declare.
  7750.  
  7751.     * malloc/malloc.h, malloc/calloc.c, malloc/free.c, malloc/malloc.c,
  7752.     malloc/mcheck.c, malloc/memalign.c, malloc/mstats.c,
  7753.     malloc/mtrace.c, malloc/realloc.c, malloc/valloc.c: Deansideclized;
  7754.     changed copyright notices to be independent of libc.
  7755.     * malloc/Makefile (glob/%.c, glob/%.h): Don't need to ansideclificate.
  7756.  
  7757.     * io/ftw.h, io/ftw.c: New.
  7758.     * io/Makefile (headers): Added ftw.h.
  7759.     (routines): Added ftw.
  7760.  
  7761. Tue Jun  2 21:49:22 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7762.  
  7763.     * sysdeps/unix/bsd/signum.h (SIG_ERR, SIG_DFL, SIG_IGN): Use
  7764.     __sighandler_t.
  7765.  
  7766.     * posix/glob.c (__ptr_t): Define.
  7767.  
  7768. Thu May 28 06:57:14 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7769.  
  7770.     * sysdeps/m68k/jmp_buf.h: Don't use PTR.
  7771.  
  7772. Wed May 27 18:09:40 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7773.  
  7774.     * posix/{glob,fnmatch}.[ch]: Deansideclized; changed copyright
  7775.     notice to be independent of libc.
  7776.     * posix/Makefile (glob/%.c, glob/%.h): Don't need to ansideclificate.
  7777.  
  7778.     * posix/unistd.h (_SC_2_FORT_RUN, _SC_2_LOCALDEF): Define.
  7779.  
  7780.     * posix/unistd.h: Define _POSIX2_* without #ifdef __USE_POSIX2.
  7781.  
  7782.     * posix/unistd.h (_POSIX2_FORT_DEV): Removed.
  7783.  
  7784.     * posix/fnmatch.h (FNM_FILE_NAME): Alias for FNM_PATHNAME.
  7785.  
  7786. Tue May 26 00:39:39 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7787.  
  7788.     * time/Makefile (install-data): Include zoneinfo/, so the directory
  7789.     gets made.
  7790.  
  7791.     * Makeconfig (+gcc-nowarn): Define to -w if using gcc.
  7792.     * time/Makefile (tz-cc): Use it to suppress warnings for grody code.
  7793.  
  7794.     * posix/Makefile (libposix.a), math/Makefile (libm.a): Make archive
  7795.     containing /dev/null instead of nothing; ar won't create an empty
  7796.     archive.
  7797.  
  7798.     * Makerules (%/): Added generic mkdir rule.
  7799.  
  7800.     * posix/Makefile (install-lib): Define to libposix.a.
  7801.     (libposix.a): Create empty archive.
  7802.  
  7803.     * posix/Makefile (distribute): Added utsnamelen.h.
  7804.  
  7805.     * ctype/ctype.c (tolower, toupper): If the arg doesn't fit in a
  7806.     char, return it unchanged.
  7807.     * ctype/ctype.h (tolower, toupper): Don't define as macros.
  7808.     [__GNUC__]: Define as extern inline functions.
  7809.  
  7810.     * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h,
  7811.     sysdeps/unix/bsd/sun/sunos4/uname.S: New.
  7812.  
  7813.     * configure: Only do hacking to snarf uname info if the config uses
  7814.     the generic uname implementation.
  7815.  
  7816.     * Makeconfig (+defines): Define to include $(gnu_ld), rather than
  7817.     -DHAVE_GNU_LD.
  7818.     * configure: Write config.make with gnu_ld/gnu_as defns.
  7819.  
  7820.     * sysdeps/unix/bsd/sun/sunos411: Renamed back to .../sunos4.
  7821.     * sysdeps/unix/bsd/bsd44: Renamed to .../bsd4.4.
  7822.  
  7823.     * Makeconfig: include $(objpfx)configparms instead of
  7824.     $(objdir)/Makeconfig.
  7825.     Define objpfx as soon as objdir is defined, so we can use it.
  7826.  
  7827.     * sysdeps/generic/uname.c: Use UNAME_* from config-name.h.
  7828.  
  7829. Mon May 25 19:33:07 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7830.  
  7831.     * configure: Accept all standard GNU configure options.
  7832.     Expect to be run in object directory, and find source directory
  7833.     elsewhere.
  7834.     Write config.status as a shell script that can be run to recreate
  7835.     the configuration.
  7836.     Grok os names containing dots by trying each successively
  7837.     less-precise substring.
  7838.     Write Sysnames and config-name.h in current directory.
  7839.     Write #define's for uname sysname, release, version, and machine
  7840.     elts in config-name.h.  Hackery to intuit release and version info.
  7841.  
  7842.     * stdio/vsnprintf.c, stdio/vsprintf.c, stdio/vasprintf.c,
  7843.     stdio/vdprintf.c, stdio/vfscanf.c, stdio/vscanf.c,
  7844.     stdio/__vsscanf.c: Take arg list as va_list, not PTR.
  7845.  
  7846.     * stdio/stdio.h: Replaced #include <stdarg.h> with magic.
  7847.     Properly use __va_list in prototypes.
  7848.  
  7849.     * Makeconfig (exec_prefix): Define.
  7850.     (libdir, includedir, bindir): Use it.
  7851.  
  7852.     * sysdeps/unix/sysv/Makefile [subdir==io] (sysdep-routines): Removed
  7853.     __utssys.
  7854.     * sysdeps/unix/sysv/Dist: Removed __utssys.S.
  7855.     * sysdeps/unix/sysv/__utssys.S, sysdeps/unix/sysv/uname.c: Removed.
  7856.     * sysdeps/unix/sysv/uname.S, sysdeps/unix/sysv/utsnamelen.h: New.
  7857.  
  7858.     * posix/sys/utsname.h (_UTSNAME_LENGTH): Don't define; instead,
  7859.     #include <utsnamelen.h> to define it.
  7860.     * sysdeps/generic/utsnamelen.h: New.
  7861.  
  7862. Sun May 24 00:07:45 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7863.  
  7864.     * sysdeps/generic/inet-cvt.h: Deansideclized.
  7865.  
  7866.     * string/string.h (memfrob): First arg is __ptr_t, not char *.
  7867.  
  7868.     * misc/sys/cdefs.h (__ptr_t): Made #define rather than a typedef.
  7869.  
  7870. Fri May 22 01:52:04 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7871.  
  7872.     * Makefile, Rules, Makerules: Remove all rules for ansideclificating
  7873.     headers.
  7874.  
  7875.     * posix/glob.h, posix/fnmatch.h: Use explicit cruft for C++.
  7876.     Define __P and const for C++/ANSI vs old C ourselves, to avoid
  7877.     dependence on <sys/cdefs.h>.
  7878.  
  7879.     * inet/Makefile: Remove cruft to snarf things from bsd/.
  7880.     * inet/bsd/*.c: Moved to inet/.
  7881.  
  7882.     * Makerules: Install headers from source directories into
  7883.     $(includedir), rather than ansidecl madness.
  7884.     * Makeconfig (ansi-incldir, trad-incldir): Removed.
  7885.     (includedir): Define instead.
  7886.  
  7887.     * assert/assert.h, ctype/ctype.h, dirent/dirent.h, grp/grp.h,
  7888.       locale/locale.h, locale/localeinfo.h, math/math.h,
  7889.       misc/sys/file.h, misc/sys/ioctl.h, misc/sys/ptrace.h,
  7890.       misc/sys/uio.h, misc/sgtty.h, misc/nlist.h, posix/gnu/types.h,
  7891.       posix/sys/wait.h, posix/sys/types.h, posix/sys/times.h,
  7892.       posix/sys/utsname.h, posix/unistd.h, posix/tar.h, posix/utime.h,
  7893.       posix/wordexp.h, posix/glob.h, posix/fnmatch.h, pwd/pwd.h,
  7894.       resource/sys/resource.h, resource/sys/vlimit.h,
  7895.       resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h,
  7896.       signal/gnu/signal.h, socket/sys/socket.h, stdio/stdio.h,
  7897.       stdio/printf.h, stdlib/alloca.h, stdlib/stdlib.h, string/string.h,
  7898.       termios/termios.h, time/sys/time.h, time/time.h, io/sys/stat.h,
  7899.       io/fcntl.h, errno.h, stddef.h, malloc/malloc.h:
  7900.     Deansideclized.  Use <sys/cdefs.h> macros instead of ansidecl and
  7901.     C++ cruft.
  7902.     * features.h: #include <sys/cdefs.h>.
  7903.  
  7904.     * string/string.h (strfry, memfrob): Declare.
  7905.     * string/Makefile (routines): Added strfry and memfrob.
  7906.     * string/strfry.c, string/memfrob.c: New.
  7907.  
  7908.     * locale/C-ctype_ct.c: Made BS be isspace.
  7909.  
  7910.     * sysdeps/generic/strstr.c: Return HAYSTACK, not its end, if NEEDLE
  7911.     is the empty string.
  7912.  
  7913.     * sysdeps/generic/strncase.c: Fixed for case of empty string.
  7914.  
  7915. Wed May 20 02:36:09 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7916.  
  7917.     * io/sys/stat.h (fchmod): Declare, rather than two __fchmod decls.
  7918.  
  7919.     * configure (sysv, bsd): Don't make base_os=unix; unix/{sysv,bsd}
  7920.     instead.
  7921.     Set os_used if base_os is used.
  7922.  
  7923. Tue May 19 21:00:11 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7924.  
  7925.     * crypt/*: New files from glad.
  7926.  
  7927.     * stdio/stdio.h (sys_nerr, sys_errlist): Don't declare const.
  7928.  
  7929. Sun May 17 15:50:00 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  7930.  
  7931.     * io/Makefile (headers): Remove gnu/stat.h; add sys/stat.h.
  7932.  
  7933.     * posix/glob.c (glob): Don't let us fall off the end without returning.
  7934.  
  7935.     * sysdeps/stub/setenv.c, sysdeps/posix/setenv.c: New.
  7936.     * stdlib/stdlib.h [__USE_BSD] (setenv): Declare.
  7937.     * stdlib/Makefile (routines): Add setenv.
  7938.  
  7939.     * malloc/mtrace.c (old_{free,malloc,realloc}_hook): Renamed to tr_&
  7940.     to not conflict with mcheck.c when combined into gmalloc.c.
  7941.  
  7942. Fri May 15 19:07:54 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7943.  
  7944.     * socket/sys/socket.h (PF_NBS, AF_NBS): Removed.
  7945.     (PF_ISO, PF_OSI, PF_APPLETALK, PF_ROUTE, PF_LINK): Define.
  7946.     (PF_MAX): Increase accordingly.
  7947.  
  7948.     * inet/bsd/*.c: Snarfed latest code from 4.4.
  7949.  
  7950.     * misc/sys/cdefs.h (__BEGIN_DECLS, __END_DECLS): Define cruft for C++.
  7951.  
  7952. Thu May 14 01:45:12 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7953.  
  7954.     * posix/glob.h (GLOB_MAGCHAR): Check user feature-test macros,
  7955.     rather than __USE_BSD, so we don't depend on features.h.
  7956.  
  7957.     * sysdeps/stub/__wait4.c: Last arg is struct rusage *, not PTR.
  7958.  
  7959.     * math/bsd/common_source/mathimpl.h: Don't #define const.
  7960.     #include <sys/cdefs.h> instead.
  7961.  
  7962.     * Makefile (+other_dirs): Add crypt, but only if it exists at run time.
  7963.     * crypt/GNUmakefile: New file.
  7964.     * sysdeps/sparc/Makefile, sysdeps/m68k/Makefile (crypt):
  7965.     Define to use machine-dependent assembly code in crypt/crypt.*.S.
  7966.     * crypt: New directory.
  7967.  
  7968.     * find-sysdirs: Don't lose if there are no sysnames.
  7969.  
  7970.     * termios/Makefile (headers): Added sys/termios.h.
  7971.     * termios/sys/termios.h: New file; just #include <termios.h>.
  7972.  
  7973.     * stdlib/qsort.c: Define _quicksort rather than qsort.
  7974.     * stdlib/msort.c: New file; defines qsort function that does merge
  7975.     sort.  Falls back to _quicksort if it fails to allocate a temp array.
  7976.     * stdlib/Makefile (routines): Added msort.
  7977.  
  7978.     * string/string.h (memccpy, strdup): Also declare #ifdef __USE_BSD.
  7979.     [__USE_BSD] (index, rindex, bcmp, bzero, ffs): Declare.
  7980.     * string/strings.h: Just #include <string.h>.
  7981.     * string/Makefile (headers): Removed bstring.h.
  7982.  
  7983.     * misc/Makefile (routines): Removed swab.
  7984.     * string/Makefile (routines): Put it here instead.
  7985.     * misc/swab.c: Moved to string/swab.c.
  7986.  
  7987.     * stdio/stdio.h [__USE_BSD] (sys_nerr, sys_errlist): Declare.
  7988.  
  7989.     * grp/grp.h (setgrent, endgrent, getgrent): Also do #ifdef __USE_BSD.
  7990.  
  7991.     * posix/glob.h [__USE_BSD] (GLOB_MAGCHAR): Declare.
  7992.     (glob_t): Added member `gl_flags'.
  7993.     * posix/glob.c (glob, glob_in_dir): Set gl_flags member to FLAGS;
  7994.     or in GLOB_MAGCHAR if any metachars are seen.
  7995.  
  7996.     * sysdeps/unix/bsd/bsd44/readdir.c: New.
  7997.  
  7998.     * sysdeps/unix/bsd/sun/readdir.c: Don't need to declare
  7999.     __getdirentries here.  Use off_t and ssize_t.
  8000.  
  8001.     * misc/Makefile (routines): Removed getdents and __getdents.
  8002.     * dirent/Makefile (routines): Put them here instead.
  8003.     * misc/getdents.c: Moved to dirent/getdents.c.
  8004.     * dirent/dirent.h [__USE_BSD] (__getdirentries, getdirentries):
  8005.     Declare.
  8006.  
  8007.     * dirent/Makefile (routines): Added scandir and alphasort.
  8008.     * dirent/scandir.c, dirent/alphasort.c: New.
  8009.     * dirent/dirent.h [__USE_BSD] (scandir, alphasort): Declare.
  8010.  
  8011.     * sysdeps/unix/bsd/nice.c, sysdeps/unix/sysv/nice.S,
  8012.     sysdeps/stub/nice.c: New.
  8013.     * resource/Makefile (routines): Added nice.
  8014.  
  8015.     * misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): #define to
  8016.     __ versions, for the sake of 4.4 header files.
  8017.  
  8018. Wed May 13 00:35:12 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  8019.  
  8020.     * stdlib/tst-strtol.c: Fixed typo in test table.
  8021.  
  8022.     * stdlib/strtol.c: Fixed checking for overflow of long int that fits
  8023.     in unsigned long int.
  8024.  
  8025.     * misc/Makefile (headers): Added ttyent.h.
  8026.     (routines): Added getttyent.
  8027.     * misc/ttyent.h, misc/getttyent.h: New; snarfed from 4.4.
  8028.  
  8029.     * posix/sys/wait.h [__USE_BSD]: Added forward decl for struct rusage.
  8030.     (__wait4, __wait3): Declare arg as struct rusage, not PTR.
  8031.  
  8032.     * inet/arpa/*.h, inet/protocols/*.h, inet/netdb.h, inet/resolv.h:
  8033.     New files from 4.4.
  8034.     * inet/Makefile (headers): Snarf *.h from arpa/ and protocols/.
  8035.  
  8036.     * sysdeps/m68k/fpu/__math.h, assert/assert.h: #include <sys/cdefs.h>
  8037.     and use its macros rather than rolling our own.
  8038.  
  8039.     * misc/sys/cdefs.h: New file.
  8040.     * misc/Makefile (headers): Add it.
  8041.  
  8042.     * Makerules: Moved check for headers coming from env to Rules.
  8043.  
  8044. Tue May 12 01:04:10 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  8045.  
  8046.     * sysdeps/generic/strsep.c: New.
  8047.     * string/string.h [__USE_BSD] (strsep): Declare.
  8048.     * string/Makefile (routines): Added strsep.
  8049.  
  8050.     * sysdeps/unix/sysv/__settod.c, sysdeps/unix/sysv/stime.S,
  8051.     sysdeps/unix/bsd/stime.c, sysdeps/stub/stime.c: New.
  8052.     * time/time.h [__USE_SVID] (stime): Declare it.
  8053.  
  8054.     * sysdeps/unix/bsd/bsd44/__getdents.S: New.
  8055.  
  8056.     * posix/wordexp.h, posix/utime.h, posix/unistd.h, time/time.h,
  8057.     termios/termios.h, posix/tar.h, string/strings.h, string/string.h,
  8058.     stdlib/stdlib.h, signal/signal.h, stdio/stdio.h, misc/sgtty.h,
  8059.     setjmp/setjmp.h, inet/resolv.h, pwd/pwd.h, stdio/printf.h,
  8060.     misc/nlist.h, inet/netdb.h, math/math.h, malloc/malloc.h,
  8061.     locale/locale.h, grp/grp.h, posix/glob.h, posix/getopt.h,
  8062.     posix/fnmatch.h, io/fcntl.h, errno.h, dirent/dirent.h,
  8063.     ctype/ctype.h, string/bstring.h, assert/assert.h, stdlib/alloca.h,
  8064.     misc/a.out.h [__cplusplus]: Added stupid cruft for losing C++.
  8065.  
  8066. Mon May 11 01:40:49 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  8067.  
  8068.     * math/Makefile (headers): Added huge_val.h and nan.h.
  8069.  
  8070.     * io/Makefile (headers): Changed gnu/stat.h to statbuf.h.
  8071.  
  8072.     * time/Makefile (install-data): Include $(localtime-file) and
  8073.     $(posixrules-file) if they are relative.
  8074.     (install-others): Include them if absolute.
  8075.     ($(posixrules-file), $(localtime-file)): Define rules to install if
  8076.     absolute file names.
  8077.     * Makerules (+install): Include $(install-others) verbatim.
  8078.     * Makeconfig (localtime-file): Made default /etc/localtime.
  8079.  
  8080.     * sysdeps/generic/Makefile (endian.h): Only generate if would
  8081.     otherwise use stub version.
  8082.     * sysdeps/stub/endian.h, sysdeps/i386/endian.h: New.
  8083.  
  8084.     * Rules, Makefile: Export distribute and dont_distribute.
  8085.     * Make-dist: Export sysdep_dirs.  Unexport things rather than
  8086.     clobbering their values.
  8087.  
  8088.     * misc/sys/ptrace.h: Fixed typo.
  8089.  
  8090.     * stdio/stdio.h (__io_read, __io_write, __io_seek, __io_close):
  8091.     Added comments.
  8092.  
  8093.     * stdio/internals.c (flushbuf): If in append mode, don't do aligned
  8094.     writing, seek to the target, or update the offset.
  8095.  
  8096.     * posix/unistd.h (lseek): Doc fix.
  8097.  
  8098.     * misc/swab.c: New.
  8099.     * misc/Makefile (routines): Added swab.
  8100.  
  8101. Wed May  6 12:32:18 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  8102.  
  8103.     * math/Makefile, inet/Makefile (source_dirs): Export it.
  8104.     * MakeTAGS (all-dirs): Include $(source_dirs).
  8105.  
  8106.     * Makefile (TAGS): Removed dep on subdir_TAGS.
  8107.     (+subdir_targets): Removed subdir_TAGS.
  8108.     * MakeTAGS [! subdir] (TAGS): Depend on subdir_TAGS.
  8109.     [! subdir] (subdir_TAGS): Recurse on subdirectories.
  8110.  
  8111.     * Makerules (headers): Don't take value from the environment.
  8112.  
  8113.     * Makerules (sysdirs, sysdep_dir): Export them.
  8114.  
  8115.     * MakeTAGS: New makefile.
  8116.     * Makefile (distribute): Include it.
  8117.     * Makefile (TAGS), Rules (TAGS): Removed rules.
  8118.     * Makerules (TAGS): New rule that uses MakeTAGS.
  8119.     * Makefile (TAGS): Depend on subdir_TAGS.
  8120.  
  8121.     * Makerules (install, install-lib, install-data, routines, aux):
  8122.     Don't bother removing these if they come from the environment, since
  8123.     they won't with make >= 3.62.8.
  8124.     * Rules (distribute, headers): Ditto.
  8125.     (subdir): Export it.
  8126.     * Makerules (sources, headers): Export these.
  8127.     * Makefile (subdirs): Export it.
  8128.  
  8129.     * Rules (+tags_sources): Removed.
  8130.     * Makerules (tags-sources): Define here.
  8131.     * ctype/Makefile (tags-sources): Redefine to give headers precedence
  8132.     over sources.
  8133.     * Rules (TAGS), Makefile (TAGS): Rewrote rules.
  8134.     * Makeconfig (+ctags): Removed.
  8135.     (ETAGS): Define.
  8136.  
  8137.     * sysdeps/posix/getcwd.c: Don't closedir twice.
  8138.  
  8139.     * sysdeps/unix/bsd/hp/m68k/__wait3.S: Define __wait3, not ___wait3.
  8140.  
  8141.     * posix/sys/types.h [__USE_BSD] (fsid_t): Define.
  8142.     * posix/gnu/types.h (__fsid_t): Define.
  8143.  
  8144.     * io/fcntl.h (F_GETLK): Define.
  8145.  
  8146. Tue May  5 18:36:46 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  8147.  
  8148.     * misc/Makefile (routines): Added seteuid and setegid.
  8149.     * sysdeps/stub/sete[ug]id.c, sysdeps/unix/bsd/bsd44/sete[ug]id.S: New.
  8150.     * posix/unistd.h [__USE_BSD] (seteuid, setegid): Declare.
  8151.  
  8152.     * sysdeps/unix/bsd/tcsendbrk.c: #include <sys/types.h>
  8153.  
  8154.     * Makerules: Strip whitespace from $(headers) so ifdef wins.
  8155.  
  8156.     * sysdeps/unix/bsd/bsdtty.h: #undef a bunch more things.
  8157.  
  8158.     * sysdeps/unix/bsd/bsd44/errnos.h: New, hacked from 4.4 <sys/errno.h>.
  8159.  
  8160.     * sysdeps/unix/Makefile (ioctls.h, errnos.h): Only generate if
  8161.     the files that would be used otherwise are the stub versions.
  8162.  
  8163.     * sysdeps/unix/bsd/tcflow.c: Don't write VSTOP or VSTART if it is
  8164.     _POSIX_VDISABLE.
  8165.  
  8166.     * sysdeps/unix/bsd/tcflush.c: Use FREAD|FWRITE for TCIOFLUSH.
  8167.  
  8168.     * sysdeps/unix/bsd/usleep.c: Use select rather than itimers to wait.
  8169.  
  8170.     * sysdeps/unix/bsd/tcsendbrk.c: Use select rather than itimers to wait.
  8171.  
  8172.     * termios/cfmakeraw.c: New.
  8173.     * termios/Makefile (routines): Added cfmakeraw.
  8174.  
  8175.     * sysdeps/unix/bsd/bsd44/ioctls.h: New file, hacked from 4.4
  8176.     <sys/ioctl.h>.
  8177.     * sysdeps/unix/bsd/bsd44/__tcgetatr.c: New.
  8178.     * sysdeps/unix/bsd/bsd44/tcsetattr.c: New.
  8179.     * sysdeps/unix/bsd/bsd44/tcdrain.c: New.
  8180.  
  8181.     * termios/sys/ttydefaults.h: New, snarfed from 4.4.
  8182.     * termios/Makefile (headers): Define.
  8183.     * termios/termios.h [__USE_BSD]: #include <sys/ttydefaults.h>
  8184.  
  8185.     * sysdeps/posix/getcwd.c: Removed unused variable.
  8186.  
  8187.     * time/__tzset.c: Cast string literal to (char *).
  8188.  
  8189.     * setjmp/sigjmp_save.c: Declare properly to return void.
  8190.  
  8191.     * sysdeps/ieee754/nan.h: Created; somehow it disappeared.
  8192.  
  8193. Mon May  4 18:30:52 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  8194.  
  8195.     * sysdeps/unix/bsd/bsd44/__wait4.S: New.
  8196.  
  8197.     * sysdeps/unix/bsd/4.4: Renamed to sysdeps/unix/bsd/bsd44.
  8198.  
  8199.     * signal/gnu/signal.h (__SA_DISABLE, __SA_NOCLDSTOP): Use same bits
  8200.     4.4 uses.
  8201.  
  8202. Sun May  3 13:57:25 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  8203.  
  8204.     * stdio/fwrite.c: Use unsigned char to avoid sign extension.
  8205.  
  8206.     * stdlib/__random.c (randtbl): Replaced default constants so they
  8207.     match the state produced by "srandom (1)".
  8208.  
  8209.     * stdlib/mbtowc.c: Test for S == "" before testing for no mbchars.
  8210.  
  8211.     * stdlib/Makefile (tests): Added testrand.
  8212.     * stdlib/testrand.c: New test for rand.
  8213.  
  8214.     * stdlib/testmb.c: Added 2 mblen tests.
  8215.  
  8216.     * stdlib/wcstombs.c: Don't do anything strange for EOF.
  8217.     Copy non-MB characters as they are.
  8218.     Properly increment S after writing.
  8219.  
  8220.     * stdlib/testmb.c: Added test case for wcstombs.
  8221.  
  8222.     * signal/signal.h (SA_DISABLE): Define.
  8223.     * signal/gnu/signal.h (__SA_DISABLE): Define.
  8224.  
  8225.     * signal/signal.h (struct sigaltstack): Define new type.
  8226.     (sigaltstack): Declare new fn.
  8227.     * sysdeps/stub/sigaltstack.c: New.
  8228.     * sysdeps/unix/bsd/4.4/sigaltstack.S: New.
  8229.  
  8230.     * misc/Makefile (routines): Added reboot.
  8231.     * posix/unistd.h (reboot): Declare.
  8232.     * sysdeps/stub/reboot.c: New.
  8233.  
  8234.     * sysdeps/unix/bsd/ulimit.c [! HAVE_GNU_LD]: #define _etext -> etext.
  8235.  
  8236.     * sysdeps/unix/bsd/sun/sparc/sethostid.S: #define _ERRNO_H before
  8237.     #include <errnos.h>.
  8238.  
  8239.     * configure (newos*): base_os=unix/bsd.
  8240.  
  8241. Fri May  1 12:21:47 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  8242.  
  8243.     * io/gnu/stat.h: Moved to sysdeps/unix/bsd/statbuf.h.
  8244.     * sysdeps/unix/bsd/statbuf.h: Define struct stat, not struct __stat.
  8245.     * io/stat.c: Use struct stat, not struct __stat.
  8246.     * sysdeps/stub/statbuf.h: New.
  8247.     * io/sys/stat.h: #include <statbuf.h> instead of gnu/stat.h.
  8248.     (stat, fstat, lstat, chmod, fchmod, umask, mkdir, mknod): Don't
  8249.     #define; declare as fns instead.
  8250.     * sysdeps/unix/sysv/stat.h: New.
  8251.     * sysdeps/unix/sysv/sysv_stat.h, sysdeps/unix/sysv/sys_stat.S,
  8252.     sysdeps/unix/sysv/sys_fstat.S: Removed.
  8253.     * sysdeps/unix/sysv/Makefile (sysdep_routines): Removed sys_stat,
  8254.     sys_fstat.
  8255.     * sysdeps/unix/sysv/Dist: Removed sys_stat.S, sys_fstat.S.
  8256.     * sysdeps/unix/bsd/__stat.S, sysdeps/unix/bsd/__fstat.S: Moved to
  8257.     sysdeps/unix.
  8258.  
  8259.     * sysdeps/m68k/fpu/switch/Makefile: Refer to dirs fpu and
  8260.     fpu/switch, not 68881 and 68881-switch.
  8261.  
  8262.     * sysdeps/m68k/fpu/switch/switch.c: #include <68881-sw.h>, not
  8263.       68881-switch.h.
  8264.  
  8265.     * sysdeps/m68k/fpu/__expm1.c, sysdeps/m68k/fpu/__rint.c,
  8266.     sysdeps/m68k/fpu/asin.c, sysdeps/m68k/fpu/atan.c,
  8267.     sysdeps/m68k/fpu/atanh.c, sysdeps/m68k/fpu/ceil.c,
  8268.     sysdeps/m68k/fpu/cos.c, sysdeps/m68k/fpu/cosh.c,
  8269.     sysdeps/m68k/fpu/exp.c, sysdeps/m68k/fpu/fabs.c,
  8270.     sysdeps/m68k/fpu/floor.c, sysdeps/m68k/fpu/log.c,
  8271.     sysdeps/m68k/fpu/log10.c, sysdeps/m68k/fpu/log1p.c,
  8272.     sysdeps/m68k/fpu/sin.c, sysdeps/m68k/fpu/sinh.c,
  8273.     sysdeps/m68k/fpu/sqrt.c, sysdeps/m68k/fpu/tan.c,
  8274.     sysdeps/m68k/fpu/tanh.c: #include <acos.c> without explicit path
  8275.     (which has changed).
  8276.  
  8277.     * sysdeps/unix/bsd/sun/sparc/start.c: #include <syscall.h>.
  8278.     (syscall): Removed C function; define all inside asm instead.
  8279.     (init_shlib): Cast return value of syscall to right types.
  8280.  
  8281. Thu Apr 30 01:15:33 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  8282.  
  8283.     * sysdeps/unix/bsd/sun/sparc/start.c: Added code to use dynamic
  8284.     linker from trq@dionysos.thphys.ox.ac.uk.
  8285.  
  8286.     * sysdeps/unix/bsd/sun/sunos4: Renamed to sunos411.
  8287.  
  8288.     * setjmp/setjmp.h (sigsetjmp): Don't declare as a function.
  8289.     Define as a macro instead.
  8290.     (__sigjmp_save): Declare; internal fn used by sigsetjmp macro.
  8291.     (_setjmp), [__FAVOR_BSD] (setjmp): Always define as a macro.
  8292.     * setjmp/sigjmp_save.c: New file.
  8293.     * setjmp/_setjmp.c, setjmp/sigsetjmp.c: Removed.
  8294.     * Makefile (routines): Removed _setjmp, sigsetjmp; added sigjmp_save.
  8295.     * misc/bsd-compat.c (setjmp): Don't define.
  8296.  
  8297.     * configure (sysv, bsd): base_os=unix
  8298.  
  8299.     * configure: Fatal error if the machine or os did not generate any
  8300.     sysdep dirs.
  8301.  
  8302.     * configure: No error message after config.sub fails.
  8303.  
  8304.     * sysdeps/mips, sysdeps/unix/bsd/ultrix42: New port from
  8305.     brendan@cs.widener.edu.
  8306.  
  8307.     * Reorganized sysdeps:
  8308.       unix/bsd/
  8309.           hp9k3bsd -> hp/m68k
  8310.           news -> sony/m68k
  8311.           sun/
  8312.               sun3/os3 -> sunos3/m68k
  8313.               sun3 -> m68k
  8314.               sun4 -> sparc
  8315.       unix/sysv/
  8316.           r4 -> sysv4
  8317.       m68k/
  8318.           68881 -> fpu
  8319.           68881/68881-switch -> fpu/switch
  8320.     * sysdeps/unix/bsd/sony/m68k/start.c: Changed #include.
  8321.     * configure: Use config.sub to canonicalize name.
  8322.     Then use combinations of machine, vendor, and os (with special
  8323.     hacks for os flavors) for sysdep dirs to try.
  8324.     * Makefile (distribute): Added config.sub.
  8325.  
  8326. Wed Apr 29 23:06:06 1992  Brendan Kehoe  (brendan@churchy.gnu.ai.mit.edu)
  8327.  
  8328.     * sysdeps/unix/bsd/hp9k3bsd/sysdep.h,
  8329.     sysdeps/unix/bsd/sun/sun3/sysdep.h, sysdeps/unix/bsd/sun/sun4/sysdep.h,
  8330.     sysdeps/unix/bsd/vax/sysdep.h,sysdeps/unix/i386/sysdep.h,
  8331.     sysdeps/mach/i386/sysdep.h: Change all definitions of movl/mov to
  8332.     MOVE(s, d), for insn sets with d,s instead of s,d move insns.
  8333.     * sysdeps/unix/__getegid.S, sysdeps/unix/__geteuid.S,
  8334.     sysdeps/unix/__getppid.S: Use that in each of these.
  8335.  
  8336. Wed Apr 29 17:58:21 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  8337.  
  8338.     * io/getwd.c: Default PATH_MAX if not defined.
  8339.  
  8340.     * sysdeps/unix/getlogin.c, sysdeps/posix/ttyname.c: Make buffers
  8341.     only as big as needed, avoiding PATH_MAX.
  8342.  
  8343.     * sysdeps/posix/getcwd.c: Dynamically extend the buffer as we go,
  8344.     not afterwards; default PATH_MAX if not defined.
  8345.  
  8346.     * posix/execvp.c: Dynamically allocate an array on the stack for the
  8347.     path name, rather than using a fixed-size array.
  8348.  
  8349.     * pwd/putpwent.c: Print pw_dir field.
  8350.  
  8351.     * sysdeps/posix/mktemp.c: If the pid has changed, update OLDPID.
  8352.  
  8353. Tue Apr 28 19:25:21 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  8354.  
  8355.     * malloc/valloc.c [emacs]: #include "config.h"
  8356.  
  8357. Thu Apr 23 13:55:34 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  8358.  
  8359.     * sysdeps/m68k/68881/__drem.c: Define __drem, not drem.
  8360.     Call ____drem, not __drem.
  8361.  
  8362.     * malloc/realloc.c, malloc/malloc.c: Don't #define memcpy or memset
  8363.     if already #define'd.
  8364.  
  8365. Tue Apr 21 04:16:56 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  8366.  
  8367.     * malloc/Makefile: Moved include ../Rules after malloc.tar rules.
  8368.     They need $(routines), which Rules clears.
  8369.  
  8370.     * malloc/realloc.c (MIN): Renamed to min.  Conflicted with HPUX
  8371.     system header files.
  8372.  
  8373.     * Makefile (sysdep-subdirs): Is not called +sysdep-subdirs.
  8374.  
  8375.     * configure: Don't try to create config.status if . is not writable.
  8376.  
  8377.     * sysdeps/generic/printf_fp.c: Fixed padding loop condition for zero
  8378.     case.
  8379.  
  8380.     * math/math.h: Don't #include <float.h> for HUGE_VAL.
  8381.     Instead, #include <huge_val.h>.
  8382.     * stdlib/stdlib.h: Ditto.
  8383.     * math/math.h [__USE_GNU]: #include <nan.h> to get NAN value.
  8384.     * float.h: Removed.
  8385.     * Makefile (headers): Removed float.h and fl.h.
  8386.     * sysdeps/ieee754/huge_val.h, sysdeps/ieee754/nan.h,
  8387.     sysdeps/stub/huge_val.h, sysdeps/stub/nan.h, sysdeps/vax/huge_val.h:
  8388.     Created (from old fl.h files).
  8389.  
  8390.     * math/bsd/common_source/pow.c (pow_p): When checking if Y is an
  8391.     integer, don't let it overflow a `long int'.
  8392.     (pow): Check for NaN with __isnan, not (X != X).
  8393.  
  8394. Tue Apr 21 02:26:19 1992  Brendan Kehoe  (brendan@cs.widener.edu)
  8395.  
  8396.     * sysdeps/unix/bsd/sun/sun4/__pipe.S,
  8397.     sysdeps/unix/bsd/vax/__wait3.S, sysdeps/unix/bsd/hp9k3bsd/__wait3.S:
  8398.     Use the ENTRY macro for each beginning
  8399.  
  8400.     * sysdeps/unix/sysdep.h, sysdeps/unix/bsd/hp9k3bsd/sysdep.h,
  8401.     sysdeps/unix/bsd/sun/sun3/sysdep.h,
  8402.     sysdeps/unix/bsd/sun/sun4/sysdep.h, sysdeps/unix/bsd/vax/sysdep.h,
  8403.     sysdeps/unix/i386/sysdep.h, sysdeps/unix/sysdep.h,
  8404.     sysdeps/unix/sysv/sysdep.h [SYSCALL, SYSCALL__, PSEUDO]: Modify to
  8405.     also receive the number of args the syscall takes; added for future
  8406.     ports that will require this information.
  8407.  
  8408.     * sysdeps/unix/i386/__pipe.S, sysdeps/unix/bsd/vax/__pipe.S,
  8409.     sysdeps/unix/bsd/sun/sun4/__pipe.S,
  8410.     sysdeps/unix/bsd/hp9k3bsd/__pipe.S, sysdeps/unix/i386/__brk.S,
  8411.     sysdeps/unix/bsd/sun/__getdents.S, sysdeps/unix/i386/__fork.S,
  8412.     sysdeps/unix/bsd/vax/__fork.S, sysdeps/unix/bsd/sun/sun4/__fork.S,
  8413.     sysdeps/unix/__setgid.S, sysdeps/unix/__setuid.S,
  8414.     sysdeps/unix/bsd/sun/sun3/__vfork.S,
  8415.     sysdeps/unix/bsd/sun/sun4/__vfork.S,
  8416.     sysdeps/unix/bsd/vax/__wait.S, sysdeps/unix/bsd/hp9k3bsd/__wait.S,
  8417.     sysdeps/unix/i386/__wait.S,
  8418.     sysdeps/unix/bsd/sun/sunos4/sys_wait4.S,
  8419.     sysdeps/unix/bsd/sun/sun3/sethostid.S,
  8420.     sysdeps/unix/bsd/sun/sun4/sethostid.S,
  8421.     sysdeps/unix/bsd/__sigvec.S, sysdeps/unix/bsd/sun/sun4/__sigvec.S,
  8422.     sysdeps/unix/sysv/i386/__sigret.S, sysdeps/unix/__getppid.S,
  8423.     sysdeps/unix/bsd/__access.S, sysdeps/unix/sysv/signal.S,
  8424.     sysdeps/unix/__getegid.S, sysdeps/unix/__geteuid.S,
  8425.     sysdeps/unix/bsd/bsd_getgrp.S, sysdeps/unix/bsd/__dup2.S,
  8426.     sysdeps/unix/bsd/__fchmod.S, sysdeps/unix/bsd/__fchown.S,
  8427.     sysdeps/unix/bsd/__flock.S, sysdeps/unix/bsd/__fstat.S,
  8428.     sysdeps/unix/bsd/__lstat.S, sysdeps/unix/bsd/__mkdir.S,
  8429.     sysdeps/unix/bsd/__readlink.S, sysdeps/unix/bsd/__rmdir.S,
  8430.     sysdeps/unix/bsd/__stat.S, sysdeps/unix/bsd/__symlink.S,
  8431.     sysdeps/unix/bsd/4.4/chflags.S, sysdeps/unix/bsd/4.4/fchflags.S,
  8432.     sysdeps/unix/bsd/4.4/sstk.S, sysdeps/unix/bsd/4.4/setlogin.S,
  8433.     sysdeps/unix/bsd/__getdtsz.S, sysdeps/unix/bsd/__getpgsz.S,
  8434.     sysdeps/unix/bsd/__setregid.S, sysdeps/unix/bsd/__setreuid.S,
  8435.     sysdeps/unix/bsd/__utimes.S, sysdeps/unix/bsd/ftruncate.S,
  8436.     sysdeps/unix/bsd/readv.S, sysdeps/unix/bsd/truncate.S,
  8437.     sysdeps/unix/bsd/vhangup.S, sysdeps/unix/bsd/writev.S,
  8438.     sysdeps/unix/bsd/__getpgrp.S, sysdeps/unix/bsd/__setpgrp.S,
  8439.     sysdeps/unix/bsd/__getrusag.S, sysdeps/unix/bsd/getprio.S,
  8440.     sysdeps/unix/bsd/getrlimit.S, sysdeps/unix/bsd/setprio.S,
  8441.     sysdeps/unix/bsd/__sigblock.S,
  8442.     sysdeps/unix/bsd/__sigpause.S, sysdeps/unix/bsd/__sigstmsk.S,
  8443.     sysdeps/unix/bsd/killpg.S, sysdeps/unix/bsd/sigstack.S,
  8444.     sysdeps/unix/bsd/rename.S, sysdeps/unix/bsd/__adjtime.S,
  8445.     sysdeps/unix/bsd/__setitmr.S, sysdeps/unix/bsd/__settod.S,
  8446.     sysdeps/unix/sysv/sys_stat.S, sysdeps/unix/sysv/sys_fstat.S,
  8447.     sysdeps/unix/sysv/__utssys.S, sysdeps/unix/sysv/utime.S,
  8448.     sysdeps/unix/sysv/__times.S, sysdeps/unix/sysv/i386/time.S,
  8449.     sysdeps/unix/sysv/alarm.S, sysdeps/unix/sysv/pause.S,
  8450.     sysdeps/unix/sysv/ulimit.S, sysdeps/unix/__chdir.S,
  8451.     sysdeps/unix/__chmod.S, sysdeps/unix/__chown.S,
  8452.     sysdeps/unix/__close.S, sysdeps/unix/__dup.S,
  8453.     sysdeps/unix/__fcntl.S, sysdeps/unix/__link.S,
  8454.     sysdeps/unix/__lseek.S, sysdeps/unix/__open.S,
  8455.     sysdeps/unix/__read.S, sysdeps/unix/__umask.S,
  8456.     sysdeps/unix/__unlink.S, sysdeps/unix/__write.S,
  8457.     sysdeps/unix/__ioctl.S, sysdeps/unix/__mknod.S,
  8458.     sysdeps/unix/acct.S, sysdeps/unix/chroot.S, sysdeps/unix/fsync.S,
  8459.     sysdeps/unix/ptrace.S, sysdeps/unix/swapon.S, sysdeps/unix/sync.S,
  8460.     sysdeps/unix/__execve.S, sysdeps/unix/__getgid.S,
  8461.     sysdeps/unix/__getpid.S, sysdeps/unix/__getuid.S,
  8462.     sysdeps/unix/_exit.S, sysdeps/unix/__kill.S,
  8463.     sysdeps/unix/inet/__gethstnm.S, sysdeps/unix/inet/__select.S,
  8464.     sysdeps/unix/inet/gethostid.S, sysdeps/unix/inet/sethostid.S,
  8465.     sysdeps/unix/inet/sethostnam.S, sysdeps/unix/inet/accept.S,
  8466.     sysdeps/unix/inet/bind.S, sysdeps/unix/inet/connect.S,
  8467.     sysdeps/unix/inet/getpeernam.S, sysdeps/unix/inet/getsocknam.S,
  8468.     sysdeps/unix/inet/getsockopt.S, sysdeps/unix/inet/listen.S,
  8469.     sysdeps/unix/inet/recv.S, sysdeps/unix/inet/recvfrom.S,
  8470.     sysdeps/unix/inet/recvmsg.S, sysdeps/unix/inet/send.S,
  8471.     sysdeps/unix/inet/sendmsg.S, sysdeps/unix/inet/sendto.S,
  8472.     sysdeps/unix/bsd/vax/__wait3.S, sysdeps/unix/bsd/hp9k3bsd/__wait3.S,
  8473.     sysdeps/unix/inet/setsockopt.S, sysdeps/unix/inet/shutdown.S,
  8474.     sysdeps/unix/inet/socket.S, sysdeps/unix/inet/socketpair.S: Added the
  8475.     argument count to every use of SYSCALL, SYSCALL__ or PSEUDO.
  8476.  
  8477. Tue Apr 21 00:06:52 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  8478.  
  8479.     * limits.h [__GNUC__ >= 2]: Use #include_next to get GCC's <limits.h>.
  8480.  
  8481.     * sysdeps/posix/sysd-stdio.c (__stdio_read, __stdio_write,
  8482.     __stdio_errmsg) [EINTR && EINTR_REPEAT]: Do EINTR looping.
  8483.     * sysdeps/unix/sysv/sysd-stdio.c: New.
  8484.     #define EINTR_REPEAT and #include posix/sysd-stdio.c.
  8485.  
  8486.     * stdlib/mbstowcs.c: Copy non-MB chars verbatim, instead of error.
  8487.  
  8488.     * sysdeps/generic/printf_fp.c: Note sign of exponent and take its
  8489.     absolute value for arithmetic.
  8490.  
  8491.     * stdlib/testmb.c: New.
  8492.     * stdlib/Makefile (tests): Added testmb.
  8493.  
  8494.     * sysdeps/generic/frexp.c [NAN]: If VALUE is infinite, return NAN.
  8495.     If VALUE is NAN, set errno to EDOM and return VALUE.
  8496.     If VALUE is zero, return it.  In all special cases, clear *EXP.
  8497.  
  8498.     * stdio/test-fseek.c: New.
  8499.     * stdio/Makefile (tests): Added test-fseek.
  8500.  
  8501.     * stdio/fseek.c: Position returned from io_funcs.seek is absolute,
  8502.     not EOF-relative when using SEEK_END.
  8503.  
  8504.     * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Set errno to
  8505.     EEXIST when we run out.
  8506.  
  8507.     * sysdeps/posix/sysd-stdio.c (exists): Use stat rather than open, so
  8508.     we don't need read access.
  8509.  
  8510.     * sysdeps/posix/mk-stdiolim.c (TMP_NAM): is 62 ** 3.
  8511.  
  8512. Mon Apr 20 23:08:02 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  8513.  
  8514.     * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Don't return
  8515.     the same name twice when the file doesn't exist.
  8516.  
  8517.     * stdio/vfprintf.c (%c format): Tests of LEFT for padding were
  8518.     reversed.
  8519.  
  8520.     * sysdeps/generic/printf_fp.c: If we have written some fractional
  8521.     digits, write zeros up to the precision.
  8522.  
  8523.     * sysdeps/unix/bsd/sun/sun4/start.c: Don't clear the FP until just
  8524.     before calling main.
  8525.  
  8526. Wed Apr 15 01:43:38 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  8527.  
  8528.     * Makerules (libc.a): Don't depend on libc.a(...); only on lib.
  8529.     (lib-noranlib): Depend on libobjs.
  8530.     (+libobjs): New var.
  8531.     (libobjs): Depend on $(+libobjs).
  8532.     * Rules (others, tests): Don't depend on lib; on libc.a instead.
  8533.  
  8534.     * locale/C-numeric.c: grouping is "".
  8535.  
  8536.     * locale/localeconv.c: Set int_frac_digits.
  8537.  
  8538.     * locale/setlocale.c: Accept "" to mean "C".
  8539.  
  8540.     * sysdeps/unix/sysv/r4/bsddir.h: Protect against multiple inclusion.
  8541.  
  8542.     * sysdeps/unix/sysv/r4/Dist: Created; includes bsddir.h and
  8543.     sys_getdents.S.
  8544.  
  8545.     * sysdeps/unix/i386/sysdep.h [! HAVE_SYSCALLS]: Don't #inlcude
  8546.     unix/sysdep.h.
  8547.     * sysdeps/unix/sysv/sysdep.h, sysdeps/unix/sysdep.h
  8548.     (HAVE_SYSCALLS): #define.
  8549.     * sysdeps/unix/sysv/i386/sysdep.h: #include unix/sysv/sysdep.h, then
  8550.     unix/i386/sysdep.h.
  8551.  
  8552.     * sysdeps/unix/sysv/Makefile: Fixed typos.
  8553.  
  8554.     * sysdeps/unix/sysv/Dist: Add utmp.h.
  8555.  
  8556.     * sysdeps/posix/Makefile (mk-stdiolim): Explicit commands, to
  8557.     compile it without normal gcc flags.
  8558.  
  8559.     * configure (i386-sysv): unix/i386/sysv -> unix/sysv/i386.
  8560.     (i386-sysvr4): New configuration.
  8561.  
  8562. Tue Apr 14 16:47:47 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  8563.  
  8564.     * setjmp/setjmp.h: Put sigjmp_buf before typedef for jmp_buf, which
  8565.     needs sigjmp_buf #ifdef __FAVOR_BSD.
  8566.  
  8567.     * posix/unistd.h (getgroups): Don't #define.
  8568.  
  8569.     * sysdeps/stub/ptrace.c: #include <stdarg.h>; declare AP in fn.
  8570.     Avoid "PTR a, b".
  8571.  
  8572.     * sysdeps/posix/sigintr.c: New; sets global sigset_t `_sigintr'.
  8573.     * sysdeps/posix/signal.c: Use SA_RESTART unless SIG is in _sigintr.
  8574.     * signal/sigintr.c: Removed.
  8575.     * sysdeps/stub/sigintr.c: New.
  8576.  
  8577.     * sysdeps/posix/sysd-stdio.c (__stdio_read, __stdio_write,
  8578.     __stdio_errmsg): Don't treat EINTR specially.
  8579.  
  8580.     * sysdeps/unix/Makefile (sys/param.h): Touch the target after mv'ing
  8581.     from the tmp file, so the file is newer than the directory.
  8582.  
  8583.     * sysdeps/generic/strcasecmp.c: Simplified loop; fixed returning
  8584.     wrong value on equal comparison.
  8585.  
  8586.     * stdlib/bsearch.c: Don't lose if NMEMB is zero.
  8587.  
  8588.     * sysdeps/unix/bsd/__times.c (timeval_to_clock_t): Microseconds are
  8589.     not milliseconds.
  8590.  
  8591. Mon Apr 13 18:25:17 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  8592.  
  8593.     * sysdeps/generic/strncase.c: New.
  8594.     * string/Makefile (routines): Add strncase.
  8595.     * string/string.h [__USE_GNU]: Declare strncasecmp.
  8596.  
  8597.     * time/__tzset.c: Correctly default DST offset to one hour later
  8598.     than standard offset.
  8599.  
  8600.     * time/__tzset.c (tz_rule): Made `name' not be const.
  8601.  
  8602.     * string/tester.c [! HAVE_GNU_LD]: #define _sys_nerr and
  8603.     _sys_errlist to sys_nerr and sys_errlist.
  8604.  
  8605.     * stdio/test_rdwr.c: Fixed printf call missing arg.
  8606.  
  8607.     * posix/getgrps.c: #undef getgroups first.
  8608.  
  8609.     * misc/brk.c: Declare __brk.
  8610.     * misc/sbrk.c: Declare __sbrk.
  8611.     * misc/setreuid.c, misc/setregid.c: #include <unistd.h>.
  8612.     Fixed types in DEFUN in fn alias.
  8613.     * misc/getpgsz.c, misc/getdtsz.c, misc/gethstnm.c: #include <unistd.h>.
  8614.     * misc/getdents.c: Declare __getdirentries.
  8615.     * misc/mknod.c: #include <sys/stat.h>.
  8616.     * posix/unistd.h: Declare many __ versions of things.
  8617.     [__OPTIMIZE__]: Many #define foo(...) -> __foo(...).
  8618.  
  8619.     * io/fcntl.c: #include <sys/file.h>.
  8620.  
  8621.     * sysdeps/unix/Makefile: New hair to install other headers the
  8622.     system sys/param.h #includes.
  8623.  
  8624.     * time/__tzset.c (__tzfile_default): Declare.
  8625.  
  8626.     * time/sys/time.h (timezone): #define to __timezone.
  8627.  
  8628.     * sysdeps/ieee754/printf_fp.c: #undef outchar before #including
  8629.     generic/printf_fp.c.
  8630.  
  8631.     * stdio/__vfscanf.c: For %c, don't lose the first char.
  8632.     For %s, properly consume the last char when we hit max width.
  8633.  
  8634.     * posix/gnu/types.h (__dev_t, __mode_t): Made int rather than short.
  8635.     * io/gnu/stat.h (struct stat): Made st_dev, st_rdev, and st_mode use
  8636.     {,unsigned} short int instead of __dev_t/__mode_t.
  8637.  
  8638. Fri Apr 10 13:55:07 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  8639.  
  8640.     * setjmp/setjmp.h: Rearranged so that jmp_buf is defined before any
  8641.     prototypes are used.
  8642.     (longjmp): Declare with jmp_buf, not __jmp_buf, to win in BSD mode.
  8643.     (_longjmp): #define as __longjmp, not longjmp.
  8644.     (_longjmp, _setjmp): Take jmp_buf args, not __jmp_buf.
  8645.     Call sig{set,long}jmp with SAVEMASK==0, rather than __{set,long}jmp.
  8646.     * _longjmp.c, _setjmp.c: #define _BSD_SOURCE before all else.
  8647.     (_setjmp): Call sigsetjmp, not __setjmp.
  8648.  
  8649.     * io/sys/stat.h (__fchmod, __mknod): Fixed arg types.
  8650.  
  8651.     * io/fchmod.c: Fixed typo.
  8652.  
  8653.     * time/Makefile (\n): Renamed to nl.
  8654.  
  8655.     * Makerules (native-compile): New variable.
  8656.     * sysdeps/generic/Makefile, sysdeps/unix/Makefile,
  8657.     sysdeps/unix/bsd/Makefile: Use it in cmds for generator progs.
  8658.  
  8659.     * sysdeps/unix/sysv/sysv_termio.h (_SYSV_TAB3): New; same as XTABS.
  8660.  
  8661.     * sysdeps/unix/sysv/setrlimit.c: Removed extern decl of etext (unused).
  8662.  
  8663.     * sysdeps/unix/sysv/__tcgetatr.c, sysdeps/unix/sysv/tcdrain.c,
  8664.     sysdeps/unix/sysv/tcflow.c, sysdeps/unix/sysv/tcflush.c,
  8665.     sysdeps/unix/sysv/tcgetpgrp.c, sysdeps/unix/sysv/tcsendbrk.c,
  8666.     sysdeps/unix/sysv/tcsetattr.c, sysdeps/unix/sysv/tcsetpgrp.c:
  8667.     #include <sys/ioctl.h>
  8668.  
  8669.     * sysdeps/unix/sysv/__rmdir.c, sysdeps/unix/sysv/__mkdir.c,
  8670.     sysdeps/posix/writev.c: #include <string.h>.
  8671.  
  8672.     * sysdeps/posix/clock.c: Removed unused variable.
  8673.  
  8674. Thu Apr  9 01:49:39 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  8675.  
  8676.     * Version 1.03.
  8677.  
  8678.     * grp/testgrp.c: Print members correctly.
  8679.  
  8680.     * stdio/test-popen.c: Pipe to cat rather than more, and then check
  8681.     output file.  Better error checking.
  8682.  
  8683.     * setjmp/tst-setjmp.c: Notice if we didn't jump the right number of
  8684.     times.
  8685.  
  8686.     * signal/tst-signal.c, string/testcopy.c, stdio/bug[12345].c: Print
  8687.     msgs that more clearly say whether we won or lost.  Better error
  8688.     checking.
  8689.  
  8690.     * sysdeps/generic/printf_fp.c: Completely rewritten from scratch.
  8691.     Now uses Steele & White's "Dragon4" algorithm to do things right.
  8692.  
  8693. Wed Apr  8 01:08:41 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  8694.  
  8695.     * sysdeps/i386/__longjmp.c: Test for VAL==0 before clobbering regs.
  8696.     Wire V to AX, rather than DX.  Use "a" constraint on unused operand
  8697.     in jmp asm, rather than global reg var, to force value into AX.
  8698.  
  8699. Tue Apr  7 17:51:25 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  8700.  
  8701.     * posix/Makefile (headers): Added tar.h.
  8702.     * posix/tar.h: New file, from djm.
  8703.  
  8704. Mon Apr  6 01:39:07 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  8705.  
  8706.     * time/tzfile.c (struct ttinfo): Made `isstd' member be unsigned
  8707.     char instead of 1-bit bitfield.
  8708.  
  8709.     * time/tzfile.c (__tzfile_default): New function.
  8710.     * time/__tzset.c: Call it when no rule is given.
  8711.     * time/Makefile: Install posixrules just like localtime.
  8712.     * time/Makeconfig (posixrules, posixrules-file): New config vars.
  8713.  
  8714.     * time/time.h (struct tm): Add `tz_gmtoff', `tz_zone'.
  8715.     * time/localtime.c: Set those members.
  8716.  
  8717.     * sysdeps/ieee754/__drem.c: XOR the signs of X and the result,
  8718.     rather than setting the sign of the result to that of X.
  8719.  
  8720.     * sysdeps/unix/bsd/make-local_lim.c: Don't do MAXUPRC or MAXLINK if
  8721.     <sys/param.h> didn't define them.
  8722.  
  8723.     * sysdeps/posix/__sigvec.c: Fixed braino: SA_ONSTACK should be
  8724.     SA_RESTART.
  8725.  
  8726.     * pwd/getpw.c, pwd/putpwent.c: Use %u fmt for uid and gid (which are
  8727.     unsigned).
  8728.  
  8729.     * time/time.h (tzname, daylight, timezone): Don't #define to __.
  8730.     * time/tzfile.c, time/__tzset.c, time/localtime.c, time/strftime.c
  8731.     [! HAVE_GNU_LD]: #define __ to plain for above three vars.
  8732.  
  8733. Thu Apr  2 03:39:04 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  8734.  
  8735.     * locale/Makefile (routines): Add localeconv.
  8736.  
  8737.     * sysdeps/i386/jmp_buf.h: Removed `__dx' elt; replaced with `__pc'.
  8738.     __bp and __sp are PTRs.
  8739.     * sysdeps/i386/setjmp.c: Rewritten.  Use global reg vars to save regs.
  8740.     Use arithmetic on address of arg to get caller's PC, BP, and SP.
  8741.     * sysdeps/i386/__longjmp.c: Rewritten.  Use global reg vars to
  8742.     restore regs.
  8743.  
  8744. Wed Apr  1 23:13:57 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  8745.  
  8746.     * Moved sysdeps/unix/i386/{bsd,sysv} to
  8747.     sysdeps/unix/{bsd,sysv}/i386, and updated Implies files.
  8748.     Implied dirs come before parents, and we want unix/i386 before
  8749.     unix/{sysv,bsd}.
  8750.  
  8751.     * io/chown.c: Fixed types in fn alias.
  8752.  
  8753. Wed Apr  1 14:18:58 1992  Torbjorn Granlund  (tege@mole.gnu.ai.mit.edu)
  8754.  
  8755.     * sysdeps/generic/memcmp.c
  8756.     (memcmp_common_alignment, memcmp_not_common_alignment):
  8757.     Move back do0 label to its original position, after the loop.
  8758.     Add comment before do0 labels.
  8759.     * sysdeps/generic/wordcopy.c (_wordcopy_fwd_aligned): Indentation.
  8760.     Add comment before do0 labels.
  8761.  
  8762. Wed Apr  1 02:16:19 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  8763.  
  8764.     * sysdeps/unix/sysv/Makefile [subdir==misc]: Generate sysdep header
  8765.     termio.h from sysv_termio.h.
  8766.  
  8767.     * sysdeps/generic/make_siglist.c: New file.
  8768.     * sysdeps/generic/signame.[ch]: Symlink'd from /gd/gnu/lib.
  8769.     * sysdeps/generic/Makefile: Generate siglist.c with above.
  8770.     * sysdeps/generic/Dist: Add make_siglist.c, signame.[ch].
  8771.  
  8772.     * sysdeps/unix/bsd/Makefile (before-compile): Define properly as a
  8773.     variable.
  8774.  
  8775.     * sysdeps/unix/bsd/make_siglist.c: Generate #define _sys_siglist
  8776.     sys_siglist #ifndef HAVE_GNU_LD.
  8777.     * stdio/psignal.h, string/strsignal.h [! HAVE_GNU_LD]:
  8778.     #define _sys_siglist sys_siglist.
  8779.  
  8780.     * sysdeps/unix/sysv/signum.h (SIGCHLD): Changed #.
  8781.     (SIGUSR1, SIGUSR2, SIGPWR): Added.
  8782.     (_NSIG): Updated.
  8783.  
  8784.     * sysdeps/unix/sysv/utmp.h: New.
  8785.  
  8786.     * sysdeps/unix/bsd/getlogin.c: Moved to sysdeps/unix/getlogin.c.
  8787.  
  8788.     * sysdeps/unix/sysv/r4/bsddir.h, sysdeps/unix/sysv/r4/readdir.c,
  8789.     sysdeps/unix/sysv/r4/closedir.c, sysdeps/unix/sysv/r4/rewinddir.c,
  8790.     sysdeps/unix/sysv/r4/opendir.c, sysdeps/unix/sysv/r4/sys_getdents.S,
  8791.     sysdeps/unix/sysv/r4/Makefile: New.
  8792.  
  8793.     * sysdeps/unix/sysv/tcflow.c: New.
  8794.  
  8795.     * sysdeps/unix/sysv/sysv_termio.h: Add lots of bits; VMIN and VTIME
  8796.     elts of c_cc.
  8797.     * sysdeps/unix/sysv/__tcgetatr.c, sysdeps/unix/sysv/tcsetattr.c: Use
  8798.     VMIN and VTIME elts from sysv termio struct.
  8799.  
  8800.     * sysdeps/unix/sysv/__gethstnm.c: New.
  8801.  
  8802.     * sysdeps/unix/sysv/local_lim.h (NGROUPS_MAX): Define as 0.
  8803.  
  8804.     * sysdeps/unix/sysv/fcntlbits.h (struct __flock): Changed l_pid to
  8805.     short; added l_sysid.
  8806.  
  8807.     * sysdeps/unix/sysv/__sigact.c: New.
  8808.  
  8809.     * sysdeps/unix/sysv/r4/__access.S: New; just #include bsd/__access.S.
  8810.  
  8811.     * sysdeps/unix/sysv/Makefile: Fixed typo: sysdep-routines =>
  8812.     sysdep_routines.
  8813.  
  8814.     * sysdeps/unix/i386/sysv/__sigret.S,
  8815.     sysdeps/unix/i386/sysv/signal.S: New.
  8816.  
  8817.     * signal/Makefile (routines): Added sigret, __sigret.
  8818.     * signal/sigret.c: New; fn alias to __sigreturn.
  8819.     * sysdeps/stub/__sigret.c: New.
  8820.  
  8821.     * sysdeps/unix/i386/sysdep.h (PSEUDO): Use hard-coded numbers for
  8822.     lcalls insn--GAS bug.
  8823.  
  8824.     * sysdeps/unix/bsd/readdir.c (D_NAMLEN): New macro; define if not
  8825.     already defined, to return length of a direct elt.
  8826.  
  8827.     * sysdeps/stub/__getgrps.c: #include <limits.h>; if NGROUPS_MAX is
  8828.     defined as 0, always return 0, and no stub warning.
  8829.  
  8830.     * sysdeps/posix/system.c: Don't fail if sigprocmask fails with ENOSYS.
  8831.  
  8832.     * sysdeps/posix/sysd-stdio.c, sysdeps/stub/sysd-stdio.c: Doc fix.
  8833.  
  8834.     * sysdeps/posix/__gettod.c: Use CONST where appropriate and not
  8835.     where not.
  8836.  
  8837.     * sysdeps/i386/memchr.c, sysdeps/i386/strlen.c: Changed `repnz' to
  8838.     `repne'.
  8839.  
  8840.     * stdio/fgets.c: Notice returned char from __fillbf in length calc.
  8841.  
  8842.     * misc/sys/ioctl.h: Always define `struct sgttyb'.
  8843.  
  8844.     * stdlib/alloca.h: #undef __alloca, too.
  8845.     Always #define alloca == __alloca.
  8846.  
  8847.     * signal/signal.h (__kill): Fixed type in decl.
  8848.     * posix/unistd.h (setgid): Fixed type in decl.
  8849.     * posix/setpgid.c, posix/setgid.c, signal/kill.c, posix/fork.c,
  8850.       posix/vfork.c, posix/getpid.c, posix/getppid.c, posix/setsid.c:
  8851.     Fixed DEFUNs in fn aliases.
  8852.     * pwd/getpw.c: Fixed type in defn.
  8853.  
  8854. Mon Mar 30 17:06:54 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  8855.  
  8856.     * sysdeps/generic/printf_fp.c: In %f, decrement PREC for each
  8857.     leading zero in the fractional part.
  8858.  
  8859.     * sysdeps/ieee754/ieee754.h: Made all elts unsigned.
  8860.     * sysdeps/ieee754/__drem.c: Return NAN if Y is zero.
  8861.     * sysdeps/ieee754/ldexp.c: Rewritten.
  8862.     * sysdeps/ieee754/__logb.c: Handle denormalized numbers.
  8863.  
  8864.     * posix/sys/wait.h: #include <endian.h>
  8865.  
  8866.     * sysdeps/ieee754/fl.h: Fixed NAN and HUGE_VAL bit patterns; added
  8867.     code for little endian.
  8868.  
  8869.     * sysdeps/generic/frexp.c: Add one to exponent to give the result a
  8870.     digit before the point.  Use negative exponent rather than division.
  8871.  
  8872.     * math/__finite.c: Return zero for NaN.
  8873.     * math/math.h: Doc fix for same.
  8874.  
  8875.     * stdio/__getdelim.c: Correctly notice when the buffer is full.
  8876.  
  8877.     * sysdeps/unix/bsd/opendir.c: Pass arg to fcntl F_SETFD by value,
  8878.     not by reference.
  8879.  
  8880.     * time/__tzset.c: Correct default rule: M4.1.0,M10.5.0.
  8881.  
  8882.     * time/__tzset.c: Move ptr past Mfoobar syntax after parsing it.
  8883.  
  8884.     * time/__tzset.c: Properly parse the DST offset (or its absence).
  8885.  
  8886.     * sysdeps/unix/make_errlist.c: Write an #ifdef HAVE_GNU_LD, rather
  8887.     than testing it when compiling make_errlist.
  8888.  
  8889.     * time/tzfile.c (__tzfile_read): Convert transitions to host byte
  8890.     order.
  8891.  
  8892.     * Makeconfig (localtime-file): New config var.
  8893.     * time/Makefile (tzfile.o, zic.o): Use it for TZDEFAULT.
  8894.  
  8895.     * stdio/Makefile (tests): Added tstgetline.
  8896.     * stdio/tstgetline.c: New; test for getline.
  8897.  
  8898.     * Makeconfig (sysincludedir): Define and document.
  8899.     * sysdeps/unix/snarf-ioctls, sysdeps/unix/Makefile: Use
  8900.     ${sysincludedirs} in place of hard-coded /usr/include.
  8901.  
  8902. Fri Mar 27 13:33:37 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  8903.  
  8904.     * string/Makefile (headers): Added endian.h.
  8905.  
  8906.     * sysdeps/ieee754/__drem.c: Fixed typo which made X and Y be the
  8907.     same location.
  8908.  
  8909.     * sysdeps/generic/__lstat.c: #include <gnu-stabs.h>
  8910.  
  8911.     * stdio/internals.c (flushbuf): Increment target as well as offset
  8912.     when we write out the single char.
  8913.  
  8914.     * grp/Makefile (tests): Add testgrp (formerly bug1).
  8915.  
  8916. Thu Mar 26 14:59:45 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  8917.  
  8918.     * stdio/fread.c: Don't read directly when we need to seek first.
  8919.  
  8920. Wed Mar 25 02:34:49 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  8921.  
  8922.     * sysdeps/unix/bsd/alarm.c: There are 1000000 usecs in a sec.
  8923.  
  8924.     * sysdeps/unix/bsd/sun/ptrace.c: Removed.
  8925.  
  8926.     * stdio/fgets.c: For unbuffered stream, don't return EOF after
  8927.     reading some data.
  8928.     Added missing parens.
  8929.  
  8930. Tue Mar 24 18:31:07 1992  Torbjorn Granlund  (tege@hal)
  8931.  
  8932.     * sysdeps/i386/memset.c: Move code that puts C in all four nibbles of
  8933.     X inside `if' statement.  Include sysdeps/i386/memset.c (not bzero).
  8934.     * sysdeps/i386/memchr.c: Rewrite to be faster.  Include
  8935.     sysdeps/generic/memchr.c (not bzero).
  8936.  
  8937. Tue Mar 24 01:21:32 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  8938.  
  8939.     * io/Makefile (routines): Add getdirname.
  8940.     * posix/unistd.h [__USE_GNU]: Declare getdirname.
  8941.     * io/getdirname.c: New.
  8942.  
  8943.     * Makeconfig (stddef.h): Define and document.
  8944.     * Makefile (headers): Use $(stddef.h) for stddef.h.
  8945.  
  8946. Mon Mar 23 18:04:56 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  8947.  
  8948.     * sysdeps/posix/mktemp.c: Do PID % 100000 for 5 digits.
  8949.  
  8950.     * time/Makefile (tzfiles): Remove pacificnew; it won't compile.
  8951.     (distribute): Put it here instead.
  8952.  
  8953.     * stdio/printf-prs.c [HAVE_LONGLONG]: Fixed missed var name change
  8954.     from code snarf.
  8955.  
  8956.     * stdio/fgets.c: Return NULL when we get EOF.
  8957.  
  8958.     * posix/execvp.c, sysdeps/posix/putenv.c [! HAVE_GNU_LD]: Define
  8959.     __environ as environ.
  8960.  
  8961.     * sysdeps/unix/bsd/Makefile, sysdeps/unix/Makefile: In rules to
  8962.     compile generator programs, cd into $(objdir) first to avoid
  8963.     braindead cc clobbering foo.o in cwdir.
  8964.  
  8965.     * sysdeps/m68k/setjmp.c: Deref fpregs array in asm.
  8966.  
  8967.     * time/Makefile (zones-%): Fixed generated rules.
  8968.  
  8969.     * math/Makefile (libm.a): Use r cmd to ar.
  8970.  
  8971.     * time/Makefile (zones-%): In echo commands, put \\\\n outside of
  8972.     quotes instead of \\n inside single quotes.  SysV echo is braindead.
  8973.  
  8974.     * io/fchown.c, io/fchmod.c, misc/bsd-compat.c: Fixed DEFUNs in fn
  8975.     aliases.
  8976.  
  8977.     * time/Makefile (echo-zonenames): New target; tell user what all
  8978.     timezones defined in all zone files are.
  8979.     * Makeconfig (localtime): Comment about using above.
  8980.  
  8981. Sun Mar 22 18:34:02 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  8982.  
  8983.     * time/australasia (NZ): Updated rules.
  8984.  
  8985. Sat Mar 21 01:00:49 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  8986.  
  8987.     * stdio/printf-prs.c [__GNUC__]: Define HAVE_LONGLONG.
  8988.  
  8989. Fri Mar 20 00:35:36 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  8990.  
  8991.     * Version 1.02.
  8992.  
  8993.     * stdio/Makefile (routines): Add __getdelim, __getline.
  8994.  
  8995.     * sysdeps/unix/i386/start.c: No ../ in #include file name.
  8996.  
  8997.     * sysdeps/posix/sysd-stdio.c, sysdeps/stub/sysd-stdio.c
  8998.     (__stdio_seek): Doc fix.
  8999.  
  9000.     * sysdeps/posix/mk-stdiolim.c: Add one to L_tmpnam, for the null
  9001.     terminator.
  9002.  
  9003.     * sysdeps/posix/__dup2.c: Use an extra fcntl call to check that the
  9004.     first fd is valid.  Close the second fd before doing the dup.
  9005.  
  9006.     * pwd/pwdread.c, grp/grpread.c: Use __getline.  Ignore lines
  9007.     beginning with #.
  9008.  
  9009.     * Makeconfig (objdir): If $(ARCH) starts with a slash, don't prepend
  9010.     $(..).
  9011.  
  9012. Thu Mar 19 21:36:57 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  9013.  
  9014.     * Makefile (install-lib): Add Mcrt1.o.
  9015.     (Mcrt1.o): Create empty file.
  9016.  
  9017. Wed Mar 18 16:00:18 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  9018.  
  9019.     * Makeconfig (+link): Use $(libdir) for gnulib.
  9020.  
  9021. Tue Mar 17 20:12:35 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  9022.  
  9023.     * math/bsd/common_source/mathimpl.h: Include <endian.h>.
  9024.     [__LITTLE_ENDIAN]: #define national.
  9025.  
  9026.     * stdio/__vfscanf.c: EOF at end of string is not
  9027.     an error.
  9028.  
  9029.     * stdio/tstscanf.c: Added new sscanf test.
  9030.  
  9031.     * stdio/vfprintf.c: For %#x, print 0x after padding 0s, not before.
  9032.  
  9033.     * stdio/fputs.c: Reverse size args to fwrite and test for returning
  9034.     LEN, rather than 1, so 0-length wins.
  9035.  
  9036.     * io/gnu/fcntl.h: Moved to sysdeps/unix/bsd/fcntlbits.h.
  9037.     * io/Makefile (headers), io/fcntl.h: gnu/fcntl.h -> fcntlbits.h.
  9038.     * sysdeps/stub/fcntlbits.h, sysdeps/unix/sysv/fcntlbits.h: New.
  9039.  
  9040.     * stdio/fopen.c (__getmode): Don't fall through in switch after 'a'
  9041.     case.
  9042.  
  9043.     * locale/C-ctype_ct.c (__ctype_b_C): Use symbolic constants.
  9044.     9..12 are not _NOgraph.
  9045.  
  9046. Tue Mar 17 19:04:01 1992  Torbjorn Granlund  (tege@hal.gnu.ai.mit.edu)
  9047.  
  9048.     * string/testcopy.c: Fix typo in comment.
  9049.  
  9050. Tue Mar 17 19:57:49 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  9051.  
  9052.     * sysdeps/generic/strstr.c, string/string.h, string/tester.c
  9053.     (strstr): Arguments were reversed.
  9054.  
  9055. Tue Mar 17 18:52:39 1992  Torbjorn Granlund  (tege@hal.gnu.ai.mit.edu)
  9056.  
  9057.     * sysdeps/i386/memcopy.h (WORD_COPY_BWD): Divide nbytes by 4.
  9058.     * sysdeps/i386/memchr.c: Rewrite.  Handle zero length correctly.
  9059.     Don't ask gcc to allocate eax to two regs.
  9060.  
  9061. Tue Mar 17 17:31:06 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  9062.  
  9063.     * posix/unistd.h (getpagesize): Declare as size_t.
  9064.  
  9065.     * Makeconfig (CC): Define unless origin is default.
  9066.  
  9067.     * stdio/__getdelim.c: Be sure to leave room for the terminating null.
  9068.  
  9069.     * string/testcopy.c: New version from tege.
  9070.  
  9071.     * malloc/dist-README: Changed mailing list addr to bug-glibc.
  9072.  
  9073.     * sysdeps/unix/bsd/__sigproc.c: Use right mask for SIG_UNBLOCK.
  9074.  
  9075.     * Makefile, Rules (clean, mostlyclean): Put - before rm commands.
  9076.  
  9077. Tue Mar 17 11:14:40 1992  Torbjorn Granlund  (tege@hal.gnu.ai.mit.edu)
  9078.  
  9079.     * sysdeps/rs6000/memcopy.h (BYTE_COPY_BWD): Assign __nbytes.
  9080.     * sysdeps/m68k/memcopy.h (WORD_COPY_BWD): Copy memory, not just
  9081.     pointers.  Clean up switch expression.
  9082.  
  9083. Mon Mar 16 05:09:23 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  9084.  
  9085.     * posix/wordexp.c: New.
  9086.  
  9087.     * time/tzfile.c (__tzfile_read): Don't die if some of the sections
  9088.     of the datafile are empty.
  9089.  
  9090.     * stdio/getline.c, stdio/getdelim.c: Moved to
  9091.     __getline.c/__getdelim.c.
  9092.     New files with fn aliases.
  9093.     * stdio/stdio.h (__getline, __getdelim): Declare.
  9094.  
  9095.     * time/Makefile (zonenames): Hair to find the names of zones
  9096.     described by $(tzfiles).
  9097.     (install-data): Install zoneinfo/$(zonenames).
  9098.     Rules to make zones from tzfiles.
  9099.     [localtime] (zoneinfo/localtime): Make from zoneinfo/$(localtime).
  9100.     * Makeconfig (localtime): New user-frobbable variable.
  9101.  
  9102. Sun Mar 15 00:01:05 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  9103.  
  9104.     * Makerules (sysdep-Makefile): Do if ... else true to avoid bogus
  9105.     nonzero status.
  9106.  
  9107.     * Makefile: Denewlinify +sysdep-subdirs after including sysd-dirs.
  9108.  
  9109.     * sysdeps/vax/__infnan.c [!__GNUC__]: Error.
  9110.  
  9111.     * zic.c, scheck.c, emkdir.c, ialloc.c, private.h, tzfile.h: Snarfed
  9112.     from localtime3 dist.
  9113.     * time/Makefile (others): Added zic.
  9114.     (distribute): Added private.h, emkdir.c, ialloc.c, scheck.c.
  9115.     (install): Defined: zic, zdump.
  9116.  
  9117.     * Makeconfig (bindir): Define.
  9118.     * Makerules: Add rule to install $(install) in $(bindir).
  9119.     (+install): Include $(install) in $(bindir).
  9120.  
  9121.     * sysdeps/unix/Makefile: Moved siglist.c rules to unix/bsd/Makefile.
  9122.     * sysdeps/unix/make_siglist.c: Moved to bsd/.
  9123.     * sysdeps/unix/Dist: Remove it.
  9124.     * sysdeps/unix/bsd/Dist: Add it.
  9125.  
  9126.     * malloc/Makefile (malloc/gmalloc.c): Depend on headers and sources.
  9127.  
  9128.     * sysdeps/unix/bsd/sun/sun4/__sigvec.S: Doc fix.
  9129.  
  9130.     * sysdeps/stub/stty.c, sysdeps/stub/gtty.c: Include <stddef.h>.
  9131.  
  9132.     * sysdeps/unix/sysv/__fstat.c: Include sysv_stat.h.
  9133.  
  9134.     * misc/bsd-compat.c: Define _BSD_SOURCE rather than __FAVOR_BSD.
  9135.     (longjmp): Use function_alias_void.
  9136.  
  9137.     * time/Makefile (tzfile.o): Compile with
  9138.     -DTZDIR='"$(datadir)/zoneinfo"'.d
  9139.  
  9140. Sat Mar 14 23:26:46 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  9141.  
  9142.     * Makeconfig (INSTALL_DATA, INSTALL_PROGRAM, INSTALL): Don't define
  9143.     if already defined.
  9144.  
  9145.     * setjmp/longjmp.c: Use function_alias_void.
  9146.  
  9147.     * gnu-stabs.h (function_alias_void): New macro.
  9148.  
  9149.     * gnu-stabs.h [!HAVE_GNU_LD] (function_alias): Fixed not to loop.
  9150.  
  9151. Fri Mar 13 17:20:19 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  9152.  
  9153.     * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Include null
  9154.     terminator in length calculation.
  9155.  
  9156.     * stdio/fgets.c: Be sure to return NULL on error/eof for unbuffered
  9157.     stream.  If N==1, don't write the first char if !seen.
  9158.     When the buffer is empty, notice the effect of __fillbf after
  9159.     calling it, avoiding a (costly) no-op iteration.
  9160.     Don't return NULL for reading no chars; only for EOF or error.
  9161.     Don't write terminator at beginning of S if eof on first char.
  9162.  
  9163.     * malloc/Makefile (libmcheck.a), Makefile (crt0.o): Remove target
  9164.     first; don't use -f to ln.
  9165.  
  9166.     * posix/execl.c, posix/execv.c, sysdeps/posix/getenv.c,
  9167.     sysdeps/posix/system.c [HAVE_GNU_LD]: #define __environ environ
  9168.  
  9169.     * posix/unistd.h [__OPTIMIZE__] (execv): Removed defn.  Can't know
  9170.     whether to use __environ or environ.
  9171.  
  9172.     * io/fchown.c, io/chown.c, io/open.c, misc/select.c,
  9173.     signal/sigvec.c, time/adjtime.c: Fixed DEFUNs in fn aliases.
  9174.  
  9175.     * time/__tzset.c: Don't dereference NULL if getenv returns it.
  9176.  
  9177. Thu Mar 12 16:01:33 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  9178.  
  9179.     * sysdeps/ieee754/sqrt.c: Replaced undefined var ref `k' with constant.
  9180.  
  9181.     * sysdeps/i386/__longjmp.c: #include <stdlib.h>.
  9182.  
  9183.     * time/tzfile.c (__tzfile_compute): Use types[0] if TIMER falls
  9184.     between transitions[0] and transitions[1].
  9185.     Always set __tzname[INFO->isdst] to the name for INFO.
  9186.  
  9187.     * sysdeps/i386/__longjmp.c: Changed register names for gcc; eax/%eax
  9188.     -> ax.
  9189.  
  9190.     * sysdeps/unix/snarf-ioctls: Avoid infinite recursion.
  9191.  
  9192. Wed Mar 11 00:16:18 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  9193.  
  9194.     * Version 1.01.
  9195.  
  9196.     * Makefile (munch-init.c): Made $(objpfx)munch-init.c.
  9197.  
  9198.     * signal/sigvec.c, signal/sigaction.c, stdio/vsscanf.c: Fixed DEFUNs
  9199.     in fn aliases.
  9200.  
  9201.     * sysdeps/m68k/68881/68881-switch/switch.c: Merged vars have_fpu and
  9202.     test_fpu into one.
  9203.  
  9204.     * sysdeps/mach/i386/start.c, sysdeps/vax/setjmp.c,
  9205.     sysdeps/vax/__longjmp.c, sysdeps/vax/__infnan.c,
  9206.     sysdeps/unix/start.c, sysdeps/unix/bsd/sun/sun4/sigtramp.c,
  9207.     sysdeps/unix/bsd/sun/sun4/start.c,
  9208.     sysdeps/unix/bsd/hp9k3bsd/start.c, sysdeps/sparc/sqrt.c,
  9209.     sysdeps/rs6000/ffs.c, sysdeps/m88k/ffs.c, sysdeps/m68k/setjmp.c,
  9210.     sysdeps/m68k/__longjmp.c, sysdeps/m68k/68881/printf_fp.c,
  9211.     sysdeps/m68k/68881/atan2.c, sysdeps/m68k/68881/__logb.c,
  9212.     sysdeps/m68k/68881/68881-switch/switch.c, sysdeps/m68k/ffs.c,
  9213.     sysdeps/i386/memset.c, sysdeps/i386/memchr.c, sysdeps/i386/ffs.c,
  9214.     sysdeps/i386/bzero.c, sysdeps/i386/__longjmp.c, sysdeps/am29k/ffs.c
  9215.     [! __GNUC__]: Either include the generic (or in some cases, ieee754)
  9216.     version, or do a #error.
  9217.  
  9218.     * Rules: Null out `objects' at end to shrink environment some.
  9219.     (+objs): Define with := from $(objects).
  9220.     (clean): Use that instead of $(objects).
  9221.  
  9222.     * sysdeps/i386/setjmp.c: Doubled % where it wanted to be literal.
  9223.  
  9224.     * posix/getgrps.c, io/flock.c, io/mkdir.c, io/read.c, io/write.c,
  9225.     io/stat.c, misc/getdents.c, misc/mknod.c, misc/utimes.c: Fixed
  9226.     DEFUNs in fn aliases.
  9227.  
  9228.     * sysdeps/unix/bsd/hp9k3bsd/sysdep.S: Use # instead of kludge cookie.
  9229.  
  9230.     * posix/getegid.c: Fixed type in DEFUN.
  9231.  
  9232.     * time/tzfile.c (__tzfile_compute): If TIMER is before any
  9233.     transition in the file, use the first non-DST type, rather than the
  9234.     type of the first transition in the file.
  9235.  
  9236. Tue Mar 10 20:01:55 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  9237.  
  9238.     * configure: Take optional -nfp arg.
  9239.     (news, sun3, hp300): Prepend m68k/68881 unless -nfp is given.
  9240.     * sysdeps/unix/bsd/hp9k3bsd/Implies: Don't specify 68881.
  9241.  
  9242.     * stdio/getdelim.c: When the buffer is empty, notice the effect of
  9243.     __fillbf after calling it, avoiding a (costly) no-op iteration.
  9244.  
  9245.     * sysdeps/vax/__memccpy.c: Fixed comments.
  9246.  
  9247.     * stdio/fmemopen.c: Set all fns and seen bit before we might call
  9248.     something that would care (fclose).
  9249.  
  9250.     * configure (sun3, sun-3): Mean sun3os4, not sun3os3.
  9251.     (sun3os3): Use just unix/bsd/sun/sun3/os3.
  9252.     * sysdeps/unix/bsd/sun/sun3/os3: New directory.
  9253.     (sysdeps/unix/bsd/sun/sunos3/__wait.S): Moved to there.
  9254.     * sysdeps/unix/bsd/sun/sun3/sysdep.h: Fixed; took hp9k3bsd/sysdep.h
  9255.     and changed movel foo, d0 to pea foo for syscall no.
  9256.     * sysdeps/unix/bsd/sun/sun3/__brk.S: Fixed pea addr mode.
  9257.     * sysdeps/unix/bsd/sun/sun3/sethostid.S: errnos.h, not gnu/errno.h.
  9258.     Use .stabs directly, not gnu-stabs.h (which uses `asm').
  9259.     * sysdeps/m68k/setjmp.c: Changed asm for first moveml, so it works
  9260.     on sun3.
  9261.     * sysdeps/unix/bsd/sun/sun3/start.c: Removed ../ from #include path.
  9262.  
  9263. Sun Mar  8 16:33:33 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  9264.  
  9265.     * misc/makefile (headers): Added stab.h, stab.def.
  9266.     * Many files: Changed __GNU_STAB__ to HAVE_GNU_LD.
  9267.  
  9268. Sat Mar  7 21:21:10 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  9269.  
  9270.     * time/mktime.c: Normalize the struct values before checking for out
  9271.     of range values.
  9272.  
  9273. Fri Mar  6 11:43:35 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  9274.  
  9275.     * sysdeps/ieee754/ldexp.c: New.
  9276.  
  9277.     * stdio/internals.c (flushbuf): When priming the stream for writing,
  9278.     advance the target pos to account for chars gotten from the buffer.
  9279.  
  9280.     * sysdeps/generic/Makefile: For math routines, don't filter out
  9281.     __finite.
  9282.  
  9283.     * sysdeps/posix/sysd-stdio.c (__stdio_gen_tempname): Fixed bugs.
  9284.  
  9285.     * misc/Makefile (routines): Remove flock.
  9286.  
  9287.     * stdlib/strtod.c: Fixed typo in checking for exponent overflow.
  9288.     Do set *ENDPTR on overflow or underflow.
  9289.  
  9290.     * sysdeps/sparc/fl.h: Removed.  Should use ieee754 version.
  9291.  
  9292.     * sysdeps/generic/Makefile: For math routines, don't filter out
  9293.     __copysign, __scalb, __drem and __logb; and don't add support.
  9294.  
  9295.     * sysdeps/ieee754/__drem.c: New.
  9296.     * sysdeps/ieee754/sqrt.c: New.
  9297.     * sysdeps/stub/__drem.c: New.
  9298.     * sysdeps/stub/sqrt.c: New.
  9299.     * sysdeps/stub/__logb.c: New.
  9300.     * sysdeps/ieee754/__logb.c: New.
  9301.  
  9302.     * sysdeps/ieee754/__infnan.c: Include <float.h> and use NAN macro
  9303.     rather than cooking one up by hand.
  9304.  
  9305.     * sysdeps/unix/bsd/getlogin.c: Open /dev/tty, rather than using stdin.
  9306.     Make sure the name is always null-terminated.
  9307.  
  9308. Thu Mar  5 17:11:46 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  9309.  
  9310.     * sysdeps/m68k/68881/__scalb.c: Removed.
  9311.     * sysdeps/m68k/68881/__math.h: Removed defn of __scalb.
  9312.     * math/math.h [__OPTIMIZE__]: Define __scalb to be ldexp.
  9313.     * math/__scalb.c: New; fn alias for ldexp.
  9314.  
  9315.     * stdio/Makefile (tests): Added bug4 and bug5.
  9316.     * stdio/bug4.c, stdio/bug5.c: Test cases from reported bugs just fixed.
  9317.  
  9318.     * stdio/internals.c (flushbuf): If nothing was written by the user,
  9319.     but there is previously gotten data, don't write anything out.
  9320.  
  9321.     * stdio/internals.c (seek_to_target): Call __stdio_check_offset first.
  9322.  
  9323.     * sysdeps/unix/sysv/sysv_termio.h: New file.
  9324.     * sysdeps/unix/sysv/Dist: Include it.
  9325.     * sysdeps/unix/sysv/tcsetattr.c, sysdeps/unix/sysv/tcsetpgrp.c,
  9326.     sysdeps/unix/sysv/tcsendbrk.c, sysdeps/unix/sysv/tcgetpgrp.c,
  9327.     sysdeps/unix/sysv/tcflush.c, sysdeps/unix/sysv/tcdrain.c,
  9328.     sysdeps/unix/sysv/__tcgetatr.c: New files.
  9329.  
  9330.     * stdio/internals.c (fillbuf): Don't set the put_limit on writable
  9331.     streams.  Wait for first write attempt to prime them, so we don't
  9332.     flush the unchanged data unnecessarily.
  9333.  
  9334.     * stdlib/exit.c: Look for NULL terminator on ld set, rather than
  9335.     using length word.
  9336.  
  9337.     * Makefile (headers): Remove stdarg.h and varargs.h.
  9338.     Users will get them from GCC.
  9339.     * stdio/printf.h: Include <stdarg.h> to use va_list.
  9340.     * stdio/stdio.h: Don't include <stdarg.h> with magic.
  9341.     Use PTR in place of __va_list in prototypes.
  9342.     * stdio/__vsscanf.c, stdio/vscanf.c, stdio/vfscanf.c,
  9343.     stdio/__vfscanf.c, stdio/vdprintf.c, stdio/vasprintf.c,
  9344.     stdio/vsprintf.c, stdio/vsnprintf.c, stdio/vprintf.c,
  9345.     stdio/vfprintf.c: Fixed DEFUNs.
  9346.  
  9347.     * sysdeps/ieee754/ieee754.h: New file; declares union ieee754_double.
  9348.     * sysdeps/ieee754/Dist: Add it.
  9349.     * sysdeps/ieee754/__copysign.c, sysdeps/ieee754/__infnan.c,
  9350.     sysdeps/ieee754/__isinf.c, sysdeps/ieee754/__isnan.c,
  9351.     sysdeps/ieee754/__printf_fp.c: Use it.
  9352.  
  9353.     * sysdeps/unix/sysv/uname.c: New.
  9354.     * sysdeps/unix/sysv/__utssys.S: New.
  9355.     * sysdeps/unix/sysv/Makefile (routines): Add __utssys.
  9356.     * sysdeps/unix/sysv/Dist: Add __utssys.S.
  9357.  
  9358.     * sysdeps/unix/sysv/__rmdir.c: New; runs `rmdir' shell command.
  9359.  
  9360.     * sysdeps/unix/sysv/__mkdir.c: New; runs `mkdir' shell command.
  9361.  
  9362.     * sysdeps/generic/__lstat.c: New; fn alias for __stat.
  9363.  
  9364.     * sysdeps/unix/sysv/__gethostname.c: New; uses uname.
  9365.  
  9366.     * sysdeps/unix/Makefile (sys/params.h): Protect with
  9367.     _GNU_SYS_PARAM_H, in case the system's file uses _SYS_PARAM_H itself.
  9368.  
  9369.     * stdio/internals.c (__stdio_check_offset): Call init_stream to make
  9370.     sure we have fns.
  9371.  
  9372.     * stdio/fread.c: Don't call __fillbf if the put_limit is past the
  9373.     beginning of the buffer; only if !seen, no buffer, or pushed back.
  9374.  
  9375.     * stdio/fopen.c (__getmode): Set create bit for "a" mode.
  9376.  
  9377.     * io/mkdir.c: #undef mkdir before fn alias.
  9378.  
  9379.     * time/tzfile.c (__tzfile_compute): Don't decrement I if it's zero.
  9380.  
  9381.     * Makefile (crt0.o): Use ln -f.
  9382.  
  9383.     * math/Makefile (install): Install libm.a.
  9384.     (libm.a): Make an empty archive.
  9385.  
  9386. Wed Mar  4 19:54:50 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  9387.  
  9388.     * README.template: Added note about long filenames in dist.
  9389.  
  9390.     * io/Makefile (routines): flock -> __flock
  9391.     * flock.c: New file, fn alias.
  9392.     * sysdeps/unix/bsd/flock.S: Renamed to sysdeps/unix/bsd/__flock.S;
  9393.     made __flock.
  9394.     * sysdeps/mach/hurd/flock.c: Renamed to sysdeps/mach/hurd/__flock.c;
  9395.     made __flock.
  9396.     * sysdeps/stub/flock.c: Renamed to sysdeps/stub/__flock.c; made
  9397.     __flock.
  9398.  
  9399.     * time/time.h (__isleap): Fixed; every 400th year is not a leap
  9400.     year, not every 1000th.
  9401.  
  9402.     * stdio/internals.c (flushbuf): Increment the target position the
  9403.     amount the user wrote into the buffer, not the amount we wrote out
  9404.     to the file (which is greater if we read a block and modified it
  9405.     in the middle).
  9406.  
  9407.     * stdio/internals.c (flushbuf): Set get_limit to the beginning of
  9408.     the buffer for all streams, except when we have just read in a block.
  9409.  
  9410. Sat Feb 29 15:56:22 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  9411.  
  9412.     * posix/Makefile (others): Removed logname, id.
  9413.     * time/Makefile (others): Removed date.
  9414.  
  9415.     * sysdeps/unix/bsd/sun/sun4/start.c: Make an alias called `start'
  9416.     (no leading underscore, so it can't conflict with C symbols) for
  9417.     `_start'.
  9418.  
  9419. Thu Feb 27 14:32:20 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  9420.  
  9421.     * set-init.c: Look for NULL terminator on set.  ld is broken and
  9422.     doesn't set the length word correctly.
  9423.  
  9424.     * setjmp/_longjmp.c, signal/sigaction.c, signal/sigvec.c,
  9425.     signal/ssignal.c, string/bcmp.c, time/setitmr.c, posix/execve.c,
  9426.     posix/getegid.c, posix/geteuid.c, posix/getgid.c, posix/getuid.c,
  9427.     posix/getgrps.c, posix/setuid.c, posix/wait3.c, posix/wait4.c,
  9428.     posix/waitpid.c, io/lseek.c, io/open.c, io/read.c, io/write.c,
  9429.     resource/getrusage.c, misc/getpgsz.c, misc/gethstnm.c,
  9430.     misc/select.c: Fixed DEFUNs in fn aliases.
  9431.  
  9432. Wed Feb 26 00:20:25 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  9433.  
  9434.     * sysdeps/generic/Makefile (routines): Add asincos.
  9435.  
  9436.     * time/tzfile.c (__tzfile_compute): Set __tzname properly, so isdst
  9437.     is the right index into it.
  9438.  
  9439. Tue Feb 25 01:42:16 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  9440.  
  9441.     * sysdeps/unix/bsd/sun/sun4/sysdep.h (ENTRY): .align 2, not .align 4.
  9442.     This one is powers of two.
  9443.  
  9444.     * time/__tzset.c: If TZ is :FILE, try FILE and if __tzfile_read
  9445.     fails, then use defaults.
  9446.  
  9447.     * sysdeps/generic/Makefile (routines): Add sincos.
  9448.  
  9449.     * sysdeps/posix/cuserid.c: Set the result to the empty string on
  9450.     failure.
  9451.  
  9452.     * string/string.h, string/strings.h, sysdeps/i386/memchr.c: Fixed
  9453.     spelling in comment.
  9454.  
  9455.     * string/makefile (tests): Include (uncomment) testcopy.  We do have
  9456.     papers for it from tege.
  9457.  
  9458.     * malloc/dist-README: Fixed mailing list addr.
  9459.  
  9460.     * resource/sys/vtimes.h (struct vtimes): Renamed vm_outblk to
  9461.     vm_oublk; fixed comment.
  9462.     * sysdeps/generic/vtimes.c: Renamed here too.
  9463.  
  9464.     * Make-dist (README): Depend on version.c.
  9465.  
  9466. Tue Feb 18 18:14:50 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  9467.  
  9468.     * Version 1.00.
  9469.  
  9470.     * time/tzfile.c (__tzfile_compute): Fixed transition comparison.
  9471.  
  9472.     * sysdeps/unix/bsd/sun/sun3/Makefile: Fixed typo.
  9473.  
  9474. Mon Feb 17 05:04:00 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  9475.  
  9476.     * Version 0.6.
  9477.  
  9478.     * Makefile (distribute): Add Q+A.
  9479.     * Q+A: New doc file from rich@cygnus.com.
  9480.  
  9481.     * malloc/Makefile (distribute): Add mcheck-init.c.
  9482.  
  9483. Mon Feb 17 00:39:38 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  9484.  
  9485.     * sysdeps/unix/sysv/utime.c: Removed.
  9486.     * sysdeps/unix/sysv/utime.S: New file.
  9487.  
  9488.     * sysdeps/unix/sysv/signum.h: New file.
  9489.  
  9490.     * sysdeps/unix/sysv/local_lim.h: New file.
  9491.  
  9492.     * sysdeps/unix/sysv/sysv_stat.h: New file.
  9493.     * sysdeps/unix/sysv/__stat.c, sysdeps/unix/sysv/__fstat.c: New files.
  9494.     * sysdeps/unix/sysv/Makefile: New file.
  9495.     (+sysdep-routines): Define to sys_stat and sys_fstat.
  9496.     * sysdeps/unix/sysv/sys_stat.S, sysdeps/unix/sysv/sys_fstat.S: New
  9497.     files.
  9498.     * sysdeps/unix/sysv/Dist: Created to include sysv_stat.h,
  9499.     sys_stat.S, and sys_fstat.S.
  9500.  
  9501.     * sysdeps/stub/__setreuid.c: Include <sys/types.h>.
  9502.  
  9503.     * sysdeps/posix/__sigblock.c: Fixed typo.
  9504.  
  9505.     * stdio/internals.c (__flshfp): Don't return EOF if at EOF; only
  9506.     for errors.
  9507.  
  9508.     * signal/gnu/signal.h: Move #include <signum.h> outside repeat #ifdef.
  9509.  
  9510.     * sysdeps/unix/sysv/filebits.h: Created.
  9511.  
  9512.     * misc/Makefile (distribute): Define to bsd-compat.c.
  9513.  
  9514.     * misc/Makefile (headers): Remove filebits.h.
  9515.     * io/Makefile (headers): Put it here.
  9516.  
  9517.     * Makefile (+posix_dirs): Add io.
  9518.     * io/Makefile: New file for new subdir.
  9519.     Contains many headers and routines moved from posix.
  9520.     * posix/Makefile: Remove many headers and routines now in io.
  9521.     * Moved many files from posix to io.
  9522.  
  9523.     * stdlib/alloca.h: Get size_t from stddef.h.
  9524.  
  9525.     * misc/bsd-compat.c (getgroups): Removed.  Not needed, because gid_t
  9526.     is now the same size as int.
  9527.  
  9528.     * Makefile (distribute): Include NOTES.
  9529.     * NOTES: New file, infoized node from intro.texinfo about the
  9530.     feature-test macros.
  9531.     * README.template: Mention NOTES.
  9532.  
  9533.     * sysdeps/unix/bsd/sun/sun3/Makefile: include hp9k3bsd version.
  9534.  
  9535.     * Makeconfig: Use $(..) for config.status.
  9536.  
  9537.     * configure (i386-sysv): unix/i386/sysv, not unix/sysv/i386.
  9538.     * unix/i386/sysv/Implies: unix/sysv, not unix/i386.
  9539.  
  9540. Sun Feb 16 00:42:53 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  9541.  
  9542.     * Version 0.5.
  9543.  
  9544.     * posix/Makefile (headers): Remove confstr.h.
  9545.     (distribute): Define this instead to contain it.
  9546.  
  9547.     * ansidecl: Added copyright notice.
  9548.  
  9549.     * stdio/getdelim.c: New file.
  9550.     * stdio/getline.c (getsome): Renamed to getdelim and moved there.
  9551.     * stdio/Makefile (routines): Add getdelim.
  9552.     * stdio/stdio.h: Declare getdelim.
  9553.  
  9554.     * misc/gnu/file.h: Moved to sysdeps/unix/bsd/filebits.h.
  9555.     * sysdeps/stub/filebits.h: New file.
  9556.     * misc/Makefile: gnu/file.h is now filebits.h.
  9557.     * posix/fcntl.h: Changed #include.
  9558.  
  9559.     * stdio/getline.c (getsome): If MAX_CANON isn't defined, use a default.
  9560.     Don't leak old *LINEPTR storage if *N < 2.
  9561.     Don't bang *LINEPTR to NULL if realloc fails.
  9562.  
  9563.     * Makerules: Don't use override when nulling out sources, routines,
  9564.     and aux if they came from the environment.  Better not make with -e.
  9565.  
  9566.     * Makefile (sysdirs, Sysnames): Put outside of ifndef sysdirs.
  9567.  
  9568.     * string/Makefile (tests): No testcopy, pending papers.
  9569.  
  9570.     * Makefile (headers): No sysdep.h.
  9571.     (distribute): Here instead.
  9572.     (no-install): No longer needed.
  9573.  
  9574. Sat Feb 15 17:10:38 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  9575.  
  9576.     * Makefile (distribute): Add INSTALL.
  9577.     * Make-dist (INSTALL): Make from manual/maint.texinfo.
  9578.     (README): Make from README.template.
  9579.  
  9580.     * Makefile (+other-dirs): Removed inet.
  9581.     * sysdeps/unix/inet/Subdirs: Created, adding inet.
  9582.  
  9583.     * sysdeps/unix/sysv/setrlimit.c: Include stddef and errno.h.
  9584.  
  9585.     * math/drem.c, setjmp/longjmp.c, malloc/cfree.c, string/bcmp.c,
  9586.     time/getitmr.c, misc/ioctl.c: Fixed defuns in function_alias.
  9587.  
  9588.     * Makefile (headers): Put sysdep.h back.
  9589.     (no-install): And define this to it.
  9590.     * Makerules (+install): Filter out $(no-install) from the list.
  9591.  
  9592.     * string/testcopy.c: New test program for bcopy from tege.
  9593.     * string/Makefile (tests): Add it.
  9594.  
  9595.     * Makefile (sysdep-subdirs): Renamed to sysd-dirs.
  9596.  
  9597.     * Make-dist (tardir): Omit the release name; it made names too long.
  9598.  
  9599. Sat Feb 15 12:53:02 1992  Torbjorn Granlund  (tege at mole.gnu.ai.mit.edu)
  9600.  
  9601.     * sysdeps/rs6000/memcopy.h (WORD_COPY_FWD, WORD_COPY_BWD):
  9602.     Use CTR register for looping (speed enhancement).  Don't emit
  9603.     labels, jump relative from `$' instead (makes multiple expansions
  9604.     possible).  Clean up indentation of asm code (were different in each
  9605.     macro).
  9606.     * sysdeps/rs6000/memcopy.h (WORD_COPY_BWD):
  9607.     Add asm output specs (were missing completely).
  9608.  
  9609.     * sysdeps/generic/{memcpy.c,memmove.c}: Make DSTP and SRCP unsigned
  9610.     (safer with non-ANSI compilers).
  9611.  
  9612. Fri Feb 14 01:52:12 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  9613.  
  9614.     * Version 0.4.1.
  9615.  
  9616.     * Makefile, Rules: Changed clean and clobber targets into
  9617.     mostlyclean, clean, and realclean.
  9618.  
  9619.     * Makeconfig: Added comments describing objdir/Makeconfig and
  9620.     editting Makeconfig.
  9621.     (prefix, libdir, INSTALL, INSTALL_DATA): New variables for installing.
  9622.     * Makerules (install): New target.
  9623.     * Makefile (+subdir_targets): Add subdir_install.
  9624.     (install): Depend on subdir_install.
  9625.     (install-lib): Define variable to install libc.a and crt0.o.
  9626.     * misc/Makefile (install-lib): Install bsd-compat.
  9627.     * malloc/Makefile (install-lib): Install mcheck-init.
  9628.  
  9629.     * Version 0.4.
  9630.  
  9631. Thu Feb 13 21:39:31 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  9632.  
  9633.     * sysdeps/unix/glue-ctype.c: Moved to unix/bsd.
  9634.     * sysdeps/unix/Makefile: Moved glue-ctype stuff to unix/bsd/Makefile.
  9635.     * sysdeps/unix/Dist: No glue-ctype.
  9636.     * sysdeps/unix/bsd/Dist: Here instead.
  9637.  
  9638.     * sysdeps/sparc/divrem.m4: Don't use insn aliases Sun as doesn't grok.
  9639.  
  9640. Wed Feb 12 12:12:12 1992  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  9641.  
  9642.     * sysdeps/m68k/setjmp.c: Use m, rather than g, constraint when
  9643.     saving fp regs.
  9644.  
  9645.     * Renamed oodles of files, changed all the relevant Makefiles (I
  9646.     think).  File names now fit in 14 chars for losing System V.  Gag me
  9647.     with a death star.
  9648.     See =longnames for translations, and =shorten.el for method.
  9649.  
  9650.     * grp/initgroups.c: Removed redundant test.
  9651.  
  9652.     * malloc/mtrace.c: Use %p fmt for pointers.
  9653.  
  9654. Tue Feb 11 02:04:39 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  9655.  
  9656.     * stdlib/alloca.h: New file.
  9657.     * stdlib/stdlib.h: Moved alloca decls there; #include <alloca.h>
  9658.     instead.
  9659.     * stdlib/Makefile (headers): Added alloca.h.
  9660.  
  9661.     * stdio/getline.c (getsome): Fixed bugs.
  9662.  
  9663.     * math/bsd/common_source/mathimpl.h: #define expm1 __expm1.
  9664.     * math/bsd/common_source/expm1.c: Renamed to __expm1.c
  9665.     * math/bsd/mc68881/expm1.s: Renamed to __expm1.s; renamed fn too.
  9666.     * math/expm1.c: New file, fn alias expm1 -> __expm1.
  9667.  
  9668.     * math/Makefile (routines): Add __rint.
  9669.     * math/rint.c: New file, fn alias rint -> __rint.
  9670.     * math/bsd/common_source/floor.c (rint): Renamed to __rint.
  9671.     * sysdeps/generic/Makefile: Remove __rint, not rint.
  9672.  
  9673.     * math/Makefile (BSDmath-files): Always include it, and don't depend
  9674.     on undependable things.
  9675.  
  9676.     * Makerules (sysdep-Makefile): Always include it, and make it
  9677.     without depending on make vars that might not be right yet.
  9678.  
  9679. Mon Feb 10 00:55:58 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  9680.  
  9681.     * stdlib/stdlib.h: #undef alloca before declaring it.
  9682.  
  9683.     * sysdeps/sparc/__longjmp.S: Use be instead of bz.
  9684.  
  9685.     * sysdeps/unix/bsd/Dist: Add bsdtty.h.
  9686.  
  9687.     * tzfile.c (__tzfile_read): Don't allocate space for 0 leaps.
  9688.     Don't loop infinitely.
  9689.  
  9690.     * sysdeps/unix/Makefile (make-errnos.c): Use tr to eat newlines in
  9691.     errnos file.
  9692.  
  9693.     * sysdeps/unix/bsd/sun/sun4/__brk.S: Fix andn arg order.
  9694.  
  9695.     * posix/Makefile: Don't get getopt by vpath.  Turns out to be too
  9696.     much hassle for dist.  Just made symlinks in posix/ instead.
  9697.  
  9698.     * manual/Makefile: Renamed summary.out to summary.texinfo.
  9699.  
  9700.     * manual/summary.awk: New file, to make summary.out.
  9701.     Replaces `process-definitions.el'.
  9702.     * manual/Makefile (summary.out): Create using summary.awk.
  9703.  
  9704.     * manual/Makefile: Created.
  9705.     * Makefile, Make-dist: Use it to format and distribute the manual.
  9706.  
  9707. Mon Feb 10 00:32:17 1992  Jim Meyering  (meyering@churchy.gnu.ai.mit.edu)
  9708.  
  9709.     * All Makefiles:
  9710.     Whenever using shell redirection to create a target,
  9711.     do not create the target directly like this
  9712.  
  9713.         foo: bar
  9714.             process $< > $@
  9715.  
  9716.     That loses when `process' fails (interrupt, disk full, ...)
  9717.     and bar exists and looks up-to-date, but isn't.
  9718.     This sort of failure is particularly insidious when
  9719.     the initial error message is obscured by lots of subsequent
  9720.     output (echoed commands etc).
  9721.  
  9722.     Instead use rules like this
  9723.  
  9724.         foo: bar
  9725.             process $< > $@-tmp
  9726.             mv $@-tmp $@
  9727.  
  9728.     Using this paradigm, as long as process returns non-zero
  9729.     whenever it fails, the target won't be touched.
  9730.  
  9731. Sun Feb  9 22:58:51 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  9732.  
  9733.     * posix/unistd.h (getopt): Fixed prototype.
  9734.     * sysdeps/generic/memset.c, stdio/vdprintf.c: Fixed DEFUNs.
  9735.  
  9736.     * Makerules (lib): Use $(RANLIB) for ranlib.
  9737.     * Makeconfig: Define it.
  9738.  
  9739.     * configure: Create config.status to set ARCH, if successful.
  9740.     * Makeconfig: include config.status ifndef ARCH.
  9741.  
  9742. Thu Feb  6 20:57:10 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  9743.  
  9744.     * ansidecl.h (INCLUDE, STARTCOMMENT, ENDCOMMENT): New magic words.
  9745.     * sysdeps/m68k/68881/fl.h: Use new magic to snarf ieee754/fl.h during
  9746.     ansideclification.
  9747.  
  9748.     * sysdeps/ieee754/fl.h: New file, taken mostly from the old
  9749.     68881 file.  HUGE_VAL redone to be machine independent.
  9750.     (NAN): New macro for an IEEE NaN, done like HUGE_VAL.
  9751.     * sysdeps/m68k/68881/fl.h: Now #includes ieee754/fl.h, and overrides
  9752.     FLT_ROUNDS for 68881 magic.  NB: the #include is a prob. for install.
  9753.  
  9754. Wed Jan 29 17:11:25 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  9755.  
  9756.     * sysdeps/posix/getcwd.c: Don't use chdir; use a long ../../../...
  9757.     path name instead.
  9758.  
  9759. Fri Jan 17 02:51:10 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  9760.  
  9761.     * posix/Makefile (headers): Added getopt.h.
  9762.     (routines): Added getopt1.
  9763.     Get getopt* from /home/gd/gnu/lib by vpath.
  9764.  
  9765.     * Makerules (+ansideclificate): Don't assume . is in PATH.
  9766.  
  9767. Thu Jan 16 18:43:05 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  9768.  
  9769.     * posix/glob.c [sgi]: No alloca.h, after all.
  9770.  
  9771. Wed Jan 15 14:17:37 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  9772.  
  9773.     * termios/termios.h: Reworked to be compatible with 4.4BSD.
  9774.     * termios/speed.c, sysdeps/unix/bsd/{__tcgetattr,tcsetattr}.c: Store
  9775.     speeds as their own values (B9600==9600, etc.) and translate to BSD
  9776.     values only for ioctl.
  9777.     * termios/cfsetpseed.c: New fn to set both speeds at once (from 4.4).
  9778.  
  9779. Tue Jan 14 21:18:10 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  9780.  
  9781.     * sysdeps/unix/i386/__brk.S: __end, not ___end.
  9782.     Get the arg off the stack correctly.
  9783.  
  9784.     * sysdeps/unix/Makefile: Allow errnos like EL3HLT.
  9785.  
  9786.     * sysdeps/posix/{readv,writev}.c: Typos.
  9787.  
  9788.     * sysdeps/posix/__sigpause.c: Rewritten to know that sigset_t is a
  9789.     mask, and to pass a (sigset_t *) instead of sigset_t to sigsuspend.
  9790.  
  9791.     * sysdeps/i386/memset.c: Include <memcopy.h>.
  9792.  
  9793.     * sysdeps/generic/uname.c (uname): Save and restore errno if
  9794.     gethostname gets ENOSYS.
  9795.  
  9796.     * stdio/perror.c (perror): Check correctly for S == "".
  9797.     Check correctly for ERRNUM being in range.
  9798.  
  9799.     * find-sysdirs: Don't use fgrep -s, since USG apparently doesn't
  9800.     have that flag.  Just >/dev/null instead.
  9801.  
  9802. Mon Jan 13 17:00:15 1992  Torbjorn Granlund  (tege at mole.gnu.ai.mit.edu)
  9803.  
  9804.     * sysdeps/generic/wordcopy.c (all four functions): Move do0 label to
  9805.     the ultimate store statement at the end of each function.  (Used to
  9806.     be in the loop.)
  9807.  
  9808. Tue Jan  7 18:40:18 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  9809.  
  9810.     * resource/sys/resource.h (struct rusage): Change `ru_outblock' to
  9811.     `ru_oublock'.
  9812.  
  9813.     * sysdeps/generic/stpcpy.c: Fixed off-by-one bug.
  9814.  
  9815. Thu Jan  2 15:19:01 1992  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  9816.  
  9817.     * sysdeps/sparc/Dist: Add umul.S and mul.S.
  9818.  
  9819. Tue Dec 31 15:33:39 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  9820.  
  9821.     * signal/signal.h [__USE_GNU]: Add user-visible `sighandler_t' ==
  9822.     __sighandler_t.
  9823.  
  9824.     * termios/speed.c (speedtab): Made const.
  9825.  
  9826.     * posix/Makefile (routines): Add flock.
  9827.  
  9828. Tue Dec 31 03:38:30 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  9829.  
  9830.     * termios/speed.c: Accept and return speeds as actual baud rates.
  9831.     * termios/termios.h (B110, etc.): Define B110 as 110, etc.
  9832.     Likewise for _B110, etc.
  9833.  
  9834. Thu Oct 24 16:19:49 1991  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)
  9835.  
  9836.     * ansidecl: Put `M4OPTS=+quiet' in the environment make GNU m4 quiet.
  9837.  
  9838. Sun Oct 20 19:31:28 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  9839.  
  9840.     * Make-dist (tardir): Define as `libc-RELEASE-VERSION', strings
  9841.     snarfed from version.c.
  9842.     ($(..)$(tardir)): Add rule to make as symlink to . (parent dir).
  9843.     [subdir] (dist), [parent] (dist.tar): Depend on that.
  9844.     [subdir] (tarsources), [parent] (+tsrcs): Add $(tardir)/ to files.
  9845.  
  9846.     * sysdeps/sparc/Makefile (distribute): Move data into Dist file.
  9847.  
  9848. Fri Oct 18 15:27:58 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  9849.  
  9850.     * Makefile (subdirs): Add $(sysdep-subdirs), so sysdep makefiles can
  9851.     add subdirs.
  9852.  
  9853.     * posix/glob.c [sgi]: Use <sys/dir.h>.
  9854.  
  9855.     * stdio/fopen.c: If not appending, initialize the offset to 0.
  9856.  
  9857.     * sysdeps/generic/strcasecmp.c: Fixed losing braindead code.
  9858.  
  9859. Tue Oct  8 15:27:54 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  9860.  
  9861.     * Version 0.1.
  9862.     * This ChangeLog is lacking much information.
  9863.     * After this release, I hope to maintain the log well. 
  9864.  
  9865. Fri Jul 26 18:02:57 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  9866.  
  9867.     * stdio/Makefile (routines): Remove _cleanup.
  9868.  
  9869. Thu Jul 25 23:12:45 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  9870.  
  9871.     * stdio/memstream.c (close_memstream): Removed.
  9872.     (trim_buffer): New fn to be io_funcs->__close for memstreams.
  9873.     (open_memstream): Take arg char **BUFLOC.  Stuff it in
  9874.     stream->__fd, and store the location of the initial buffer in
  9875.     *BUFLOC.
  9876.     (enlarge_buffer): Keep *(char **) stream->__fd updated to be the
  9877.     location of the buffer.
  9878.  
  9879. Tue Jul 23 14:11:29 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  9880.  
  9881.     * posix/glob.c: Don't #include <stddef.h> #ifdef sun.
  9882.     Is there anyone on the face of the planet other than me capable of
  9883.     implementing the ANSI C standard to spec????
  9884.  
  9885.     * posix/glob.c [DIRENT]: #include <sys/types.h> before <dirent.h>
  9886.     #ifdef USG.
  9887.  
  9888. Mon Jul 22 17:06:24 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  9889.  
  9890.     * sysdeps/posix/make-stdio_limits.c: #include <posix1_limits.h>,
  9891.     not <posix_limits.h>.
  9892.  
  9893.     * README: Refer to COPYING.LIB, not COPYING.
  9894.  
  9895.     * config.libc: Renamed to `configure'.
  9896.  
  9897. Local Variables:
  9898. mode: change-log
  9899. End:
  9900.